More efficient route lookup caching

Created on 16 July 2024, 5 months ago
Updated 13 August 2024, 4 months ago

Problem/Motivation

Spin-off from πŸ› After updating Drupal from version 10.2.7 to version 10.3.0, a 404 error occurred! Needs review , I think we can make the caching more efficient.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Before:


| route:[language]=en:[query_parameters]=:/abcde             | a:3:{s:4:"path";s:6:"/abcde";s:5:"query";a:0:{}s:6:"routes";O:41:"Symfony\Component\Routing\RouteCollection":4:{s:49:" Symfony\Component\Routing\RouteCollection routes";a:0:{}s:50:" Symfony\Component\Routing\RouteCollection aliases";a:0:{}s:52:" Symfony\Component\Routing\RouteCollection resources";a:0:{}s:53:" Symfony\Component\Routing\RouteCollection priorities";a:0:{}}}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |

After:

| route:[language]=en:[query_parameters]=:/abcdef            | a:3:{s:4:"path";s:7:"/abcdef";s:5:"query";a:0:{}s:6:"routes";b:0;}                                                 

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

10.4 ✨

Component
RoutingΒ  β†’

Last updated 1 day ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024