Issue with passing Cache-Control: no-cache header to Tomcat during cache misses

Guillaume Quintard guillaume.quintard at gmail.com
Thu Jun 15 13:00:07 UTC 2023


Adding to what Dridi said, and just to be clear: the "cleaning" of those
well-known headers only occurs when the req object is copied into a beteq,
so there's nothing preventing you from stashing the "cache-control" header
into "x-cache-control" during vcl_recv, and then copying it back to
"cache-control" during vcl_backend_response.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20230615/5777e9f0/attachment.html>


More information about the varnish-misc mailing list