Possible to detect a previous xkey softpurge?

Batanun B batanun at hotmail.com
Sat Sep 12 21:44:39 UTC 2020


> From what I understand now, you want to make sure that after a softpurge,


> you never get the stale object. So, if I may: why use a softpurge at all?

> Just remove the objects completely and be done with it.

I think I was not explaining my use case properly. It is not the Varnish cache I was talking about. The backend has it's own cache, and it can sometimes serve stale data (if requested seconds after an update). So completely removing the object from the _Varnish_ cache does not help here. And in fact it would just do harm, since if then the backend goes down we don't have any stale data from Varnish cache to serve. With softpurge and a long grace, we always are ready for a backend failure (assuming the data is in the cache).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20200912/dda927d8/attachment.html>


More information about the varnish-misc mailing list