Purge and cache content mist.

Sébastien FOUTREL sfoutrel at bcstechno.com
Tue Mar 24 18:28:24 CET 2009


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 : varnish-misc-bounces at projects.linpro.no [mailto:varnish-misc-bounces at projects.linpro.no] De la part de Dag-Erling Smørgrav
Envoyé : mardi 24 mars 2009 17:33
À : Loesche, Lukas, scoyo
Cc : varnish-misc at projects.linpro.no
Objet : Re: Purge and cache content mist.

"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
_______________________________________________
varnish-misc mailing list
varnish-misc at projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


More information about the varnish-misc mailing list