On Wed, Jan 21, 2009 at 12:38 PM, Poul-Henning Kamp <p...@phk.freebsd.dk> wrote: > In message <75cf5800901210319j1a2741bdp171bdffad920b...@mail.gmail.com>, Paras > Fadte writes: > >>Does it mean that 200 code doesn't have any relation to the object >>being or not being there in the cache ? Does it only mean then that >>the purge command was successfully executed ? > > It only means that the purge was succesfully added to the list of > purges. > > The way purges work in varnish is that we have a list of purge > commands which gets checked against the objects on demand, in > other words, when you have a cache hit, the purges that have > come in since the last time this object was hit will be checked > to make sure we can still deliver it. > > We do not start walking, the possibly several million, objects > in the cache every time you use the purge command.
Does that mean that vcl_miss in this part of the documentation never would be run? http://varnish.projects.linpro.no/wiki/VCLExamplePurging -- Audun Ytterdal http://audun.ytterdal.net _______________________________________________ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc