Cross-verb cache invalidation (POST/PUT invalidates GET)

Per Buer perbu at
Mon May 16 09:58:39 CEST 2011

On Sun, May 15, 2011 at 11:37 PM, Jonathan Matthews <contact at
> wrote:

> So, coming back to the initial naive implementation, it looks like it
> could be correct. But what have I missed? There's got to be some
> complication to explain why this (or something like it) isn't in the
> default VCL - was a decision taken not to adhere to section 13.10 of
> RFC2616 at some point in the past?

We won't do this because it would totally break if you have more then one
Varnish servers. It's the backend job to notify the caches when the content
actually changes.

Per Buer, CEO
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <> |
Video<> |
Twitter <>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list