Dynamically set ttl based on cache-control header

Star Dot stardothosting at gmail.com
Tue Nov 15 18:32:02 CET 2016

We have a django site that will be determining the cache times via setting
the cache-control header. I want varnish to read this header and
dynamically set the TTLs for the cache time based on that header.

Is there an easy way of doing this or is this even possible at all?



StackStar Managed Hosting Services : https://www.stackstar.com
Shift8 Web Design in Toronto : https://www.shift8web.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20161115/7f06ebb6/attachment.html>

More information about the varnish-misc mailing list