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

Uday Kumar uday.polu at indiamart.com
Thu Jun 15 18:21:28 UTC 2023


Thanks Dridi and Guillaume for clarification!

On Thu, Jun 15, 2023, 18:30 Guillaume Quintard <guillaume.quintard at gmail.com>
wrote:

> 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/2d6922cb/attachment.html>


More information about the varnish-misc mailing list