mirror of
https://github.com/nextcloud/server.git
synced 2026-02-25 02:44:57 -05:00
Merge pull request #46394 from nextcloud/backport/46320/stable28
[stable28] perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP
This commit is contained in:
commit
ef5249bb64
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ class Internal extends Session {
|
|||
public function __construct(string $name) {
|
||||
set_error_handler([$this, 'trapError']);
|
||||
$this->invoke('session_name', [$name]);
|
||||
$this->invoke('session_cache_limiter', ['']);
|
||||
try {
|
||||
$this->startSession();
|
||||
} catch (\Exception $e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue