Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP #46320

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

juliusknorr
Copy link
Member

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

  • Resolves: #

Summary

TODO

  • ...

Checklist

@juliusknorr juliusknorr force-pushed the perf/php-session-cache-limiter branch from 0d98e08 to 9c76acb Compare July 5, 2024 12:42
@juliusknorr juliusknorr requested review from nickvergessen, SystemKeeper and a team July 5, 2024 12:47
@juliusknorr juliusknorr force-pushed the perf/php-session-cache-limiter branch from 9c76acb to 189cd15 Compare July 5, 2024 13:58
Copy link
Contributor

@SystemKeeper SystemKeeper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

…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>
@juliusknorr juliusknorr force-pushed the perf/php-session-cache-limiter branch from 189cd15 to 38bee2c Compare July 8, 2024 20:30
@SystemKeeper
Copy link
Contributor

Seems we can't convince cypress, but to me it seems not related??
Can we get this in to backport it for the 29/28 RC tomorrow?

@nickvergessen nickvergessen merged commit e31f474 into master Jul 10, 2024
163 of 165 checks passed
@nickvergessen nickvergessen deleted the perf/php-session-cache-limiter branch July 10, 2024 09:52
@nickvergessen
Copy link
Member

/backport to stable29

@nickvergessen
Copy link
Member

/backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants