varnish5 - how to view what currently is in cache?

Admin Beckspaced admin at
Sat Oct 29 11:06:44 CEST 2016

hello again varnish users,

i have been looking in the varnish 5 documents.
found useful things like:


but how would i proceed if i want to know what actually is in the cache?

e.g. view a cached version of an URL:

or view cached versions based on custom hash_data i added via vcl - hash_data lang=en - hash_data lang=de - hash_data lang=fr

is it possible to get a list of all URL's in cache?

and view a cached object based on the URL? perhaps custom hash_data?

e.g. varnishadm -view -url
e.g. varnishadm -view -url -hash_data lang=en
e.g. varnishadm -view -url -hash_data lang=de

any thoughts or hints would be great ;)

thanks & greetings

More information about the varnish-misc mailing list