Thank You DES for your answer. About the url.purge, do I purge an URL or an URI with it ? Does url.purge firstdomain\.com/that-part/.* will do the job for all contents under /that-part/ of domain firstdomain.com ?
Cheers -----Message d'origine----- De : [email protected] [mailto:[email protected]] De la part de Dag-Erling Smørgrav Envoyé : mardi 24 mars 2009 17:33 À : Loesche, Lukas, scoyo Cc : [email protected] Objet : Re: Purge and cache content mist. "Loesche, Lukas, scoyo" <[email protected]> writes: > Sébastien FOUTREL <[email protected]> > > 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 - [email protected] _______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc _______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
