Merge pull request #56927 from nextcloud/backport/56926/stable32

This commit is contained in:
Benjamin Gaussorgues 2025-12-09 16:12:53 +01:00 committed by GitHub
commit aaf08f6a09
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);