Purge and cache content mist.
Dag-Erling Smørgrav
des at des.no
Tue Mar 24 17:32:48 CET 2009
"Loesche, Lukas, scoyo" <lukas.loesche at bertelsmann.de> writes:
> Sébastien FOUTREL <sfoutrel at bcstechno.com>
> > Is there a way to find if something is in the cache, have a map of cached
> > content or some script that give one ?
> http://varnish.projects.linpro.no/wiki/FAQ#CanIseewhatVarnishholdsinthecache
That's not a very good answer, actually. It almost sounds like "we
can't be bothered to implement it". The real reason is that URLs are
not stored in the cache - hash strings are. What's more, different URLs
may hash to the same object, so there would be no way to generate an
unambiguous list.
That being said, the FAQ is correct in that it would be a very expensive
operation - listing the contents of the cache on a large server could
very well stall it for seconds or, in the worst case, minutes.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the varnish-misc
mailing list