Varnish GET/POST cache Invalidation

Behzad Altaf behzadaltaf at gmail.com
Tue Jan 6 08:03:28 CET 2015


Hi All,

I am trying to understand varnish Automatic Cache invalidation strategy
using HTTP VERBS. i.e.

I do a GET on a URL - VARNISH fetches from backend.


I do a GET on same URL - VARNISH delivers from CACHE

I do a POST on the same URL - VARNISH passes to back end

I do a GET on the same URL - VARNISH delivers from CACHE (why?)
(Expected behaviour Varnish invalidates with last POST and fetches from
backend)

Would anybody please help me understand why VARNISH is NOT INVALIDATING the
cache on the POST of the same URL.

What am I missing?

Thanks and Regards,
BA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20150106/aa9fb89b/attachment.html>


More information about the varnish-misc mailing list