Merge pull request #56926 from nextcloud/fix/CachingRouter/disable-cache-find-matching

pull/55271/merge
Benjamin Gaussorgues 2025-12-09 10:18:58 +07:00 committed by GitHub
commit d343207b25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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);