Skip to content

Commit c8a638f

Browse files
provokateurinbackportbot[bot]
authored andcommitted
fix(CachingRouter): Disable cache for findMatchingRoute
Signed-off-by: provokateurin <[email protected]>
1 parent aeed624 commit c8a638f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/private/Route/CachingRouter.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ private function serializeRouteCollection(RouteCollection $collection): array {
7474
* @return array
7575
*/
7676
public function findMatchingRoute(string $url): array {
77+
return parent::findMatchingRoute($url);
78+
7779
$this->eventLogger->start('cacheroute:match', 'Match route');
7880
$key = $this->context->getHost() . '#' . $this->context->getBaseUrl() . '#rootCollection';
7981
$cachedRoutes = $this->cache->get($key);

0 commit comments

Comments
 (0)