mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 23:59:27 -04:00
fix(CachingRouter): Disable cache for findMatchingRoute
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
aeed624013
commit
c8a638f7e0
1 changed files with 2 additions and 0 deletions
|
|
@ -74,6 +74,8 @@ class CachingRouter extends Router {
|
|||
* @return array
|
||||
*/
|
||||
public function findMatchingRoute(string $url): array {
|
||||
return parent::findMatchingRoute($url);
|
||||
|
||||
$this->eventLogger->start('cacheroute:match', 'Match route');
|
||||
$key = $this->context->getHost() . '#' . $this->context->getBaseUrl() . '#rootCollection';
|
||||
$cachedRoutes = $this->cache->get($key);
|
||||
|
|
|
|||
Loading…
Reference in a new issue