Skip to content

[stable29] perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP - #46393

Merged
nickvergessen merged 1 commit into
stable29from
backport/46320/stable29
Jul 11, 2024
Merged

[stable29] perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP#46393
nickvergessen merged 1 commit into
stable29from
backport/46320/stable29

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #46320

@SystemKeeper

Copy link
Copy Markdown
Contributor

Green cypress needs backport of #46428

…tatic assets served by PHP
By default there is a Pragma: no-cache header set due to the default
value `no-cache` of session.cache-limiter, which will cause Chrome and
iOS to not cache even with a different Cache-Control header set on the
response.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@AndyScherzinger
AndyScherzingerforce-pushed the backport/46320/stable29 branch from 5d86efb to ea262a8CompareJuly 11, 2024 06:31
@nickvergessen
nickvergessen merged commit ecd454e into stable29Jul 11, 2024
@nickvergessen
nickvergessen deleted the backport/46320/stable29 branch July 11, 2024 07:19
@AltahrimAltahrim mentioned this pull request Jul 11, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsperformance 🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@SystemKeeper@nickvergessen@juliusknorr