tempesta icon indicating copy to clipboard operation
tempesta copied to clipboard

Storing responses with set-cookie header

Open RomanBelozerov opened this issue 3 years ago • 0 comments

Tempesta must not cache responses with "Set-cookie" header if they have not directives: must-revalidate, proxy-revalidate, public and s-maxage.

It must work as for authorized users. https://github.com/tempesta-tech/tempesta/blob/master/fw/cache.c#L431.

RFC

Testing

The testing issues is https://github.com/tempesta-tech/tempesta-test/issues/167

Documentation

Please update wiki chapter https://github.com/tempesta-tech/tempesta/wiki/Caching-Responses#caching-policy

RomanBelozerov avatar Aug 19 '22 10:08 RomanBelozerov