Varnish to cache accordingly by inspecting Backend response header

Kelvin Loke kelvin1111111 at gmail.com
Tue Mar 12 12:38:44 CET 2013


I was wondering if it's possible to let Varnish to cache based on Backend
server response header?

For example, if Backend response header has "cache_ttl = 60", then Varnish
will cache it for 60 seconds.

If the cache_ttl = 0 or is not exist in Backend, Varnish will not cache for
that object at all.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130312/4248d9b7/attachment.html>


More information about the varnish-misc mailing list