Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, "anda > n andan" writes: >> Hi all. >> >> According to: http://varnish.projects.linpro.no/wiki/FAQ/Compression, >> for two requests with different "Accept-encoding", the cache stores >> two objets. >> >> But, to purge an URL, how affect this ? we must send two PURGE >> requests with the two "Accept-encoding" ? > > Depends how you do the purge. > > If you use the url.purge or hash.purge VCL primitives all matching > objects will be purged. > > If you use the "set obj.ttl = 0s" way of purging, only the single > object you found in the cache will get purged.
That's interesting. So the default VCL for HTTP PURGE requests will not purge all variants? How can a backend know which variants there are so it can purge all of them? Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
