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

This commit is contained in:
Benjamin Gaussorgues 2025-12-09 10:18:58 +01:00 committed by GitHub
commit d343207b25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);