Cache Metrics
Cache hits can be determined via the metadata.response.headers.cf_cache_status
key in our Logs Explorer. Any value that corresponds to either HIT
, STALE
, REVALIDATED
, or UPDATING
is categorized as a cache hit.
The following example query will show the top cache misses from the edge_logs
:
Try out this query in the Logs Explorer.
Your cache hit ratio over time can then be determined using the following query:
Try out this query in the Logs Explorer.