How do I see what files are being served from the cache?

What’s the best way for me to see which files are a cache hit, miss, and pass?

You have a couple of options here.

In the first instance, you can start with metrics for an overall view of cache hit rates for the web application and then the hit rates by file type. e.g. from our Bootcamp application:

For more specific analysis of asset types which are being served from cache, go to logs and filter on “Varnish” as a proxyName then “Hit” as varnish_hitmss.

You will then be able to take these results and review them manually or further filter by type or visualize the results by asset type, name etc.