]> source.dussan.org Git - nextcloud-server.git/commit
perf: Set session.cache_limiter at runtime to avoid clients caching static assets... 46320/head
authorJulius Härtl <jus@bitgrid.net>
Fri, 5 Jul 2024 12:39:30 +0000 (14:39 +0200)
committerJulius Härtl <jus@bitgrid.net>
Mon, 8 Jul 2024 20:30:27 +0000 (22:30 +0200)
commit38bee2c014db4041c780d0aee8a59808be2dbb3a
tree96d5ca289daf99c390b1b3b77e22570fa740b532
parent7b60b989b0382134232d8c223dfece8410267a37
perf: Set session.cache_limiter at runtime to avoid clients caching static 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>
lib/private/Session/Internal.php