Cache Invalidation
Pinakee BIswas
pinakee at waltzz.com
Wed Jun 1 07:09:19 CEST 2016
Hi Dridi,
Thanks for your response.
I am new to Varnish. Could you please provide an example (detailed one
would be nice) for the following approach you suggested?
> A different strategy could be to have a "short" TTL, a virtually
> infinite grace period (you can also set it via Cache-Control) and make
> use of Last-Modified/Etag headers.
>
> This way Varnish will frequently ask your backend (short TTL) but will
> probably serve most requests from cache (high grace) and hammer your
> backend more often. The last point can be cheap if you implement IMS
> properly in your backend.
>
> This way you don't need to involve more teams, the people responsible
> for the backend's Cache-Control can now handle grace and conditional
> requests.
>
> Cheers
Thanks,
Pinakee
More information about the varnish-misc
mailing list