[squid-users] Question: Force the caching of 302 responses without Expires header and with Strict-Transport-Security max-age header?

Andrei Pozolotin andrei.pozolotin at gmail.com
Sat Jan 4 10:49:30 UTC 2020


Alex:

On 2020-01-03 14:19, Alex Rousskov wrote:
>> Question: how can one force the caching of 302 responses
>> without the Expires header and with Strict-Transport-Security max-age 
>> header?
> 
> 
> You can modify Squid to handle Strict-Transport-Security specially or
> you can write an ICAP or eCAP service that would add a "more standard"
> Cache-Control:max-age header to the response (with even more work, it
> would be possible to drop the added response header before it leaves
> Squid).

1. thank you for your suggestions

2. just to confirm I got this right:

there is no way to use any current squid configuration options
or any existing squid plugins to cache 302 responses without Expires 
header,
instead must write some brand new code, correct?

Andrei


More information about the squid-users mailing list