Revert "fix(CachingRouter): Disable cache for findMatchingRoute"

This reverts commit 90948f5096.

It temporary disabled cache for routes until an actual fix was added,
which is done in the following commits.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2025-12-12 14:26:43 +01:00 committed by backportbot[bot]
parent d286fef50e
commit 2a200a708e

View file

@ -74,8 +74,6 @@ 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);