Move route preloading into the UrlGenerator: don't simply preload on every HTML request

Created on 30 July 2015, over 9 years ago
Updated 11 February 2023, almost 2 years ago

Problem/Motivation

Route preloading happens on any HTML request, even if no URLs would be generated. Not generating URLs actually is a fairly common scenario: for example those responses that can be served from Drupal 8's Dynamic Page Cache.

If the preloading would be triggered as part of the URL generator, we can avoid the preloading in those common scenarios where it is not necessary.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs work

Version

10.1

Component
Routing 

Last updated 1 day ago

Created by

🇩🇪Germany dawehner

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

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

  • needs profiling

    It may affect performance, and thus requires in-depth technical reviews and profiling.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024