NB! It seems this console command is not compatible with CS2.
Command Profile

SV_QUERYCACHE_STATS

CS:GO

This command prints to console statistics about the query cachhe, including the amount of queries in the cache, the amount missed, and free space.

Syntax
sv_querycache_stats

Description

This command prints to console statistics about the query cachhe, including the amount of queries in the cache, the amount missed, and free space.

How To Use sv_querycache_stats

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter sv_querycache_stats, replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

sv_querycache_stats