Active
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jul 2026 at 08:11 UTC
Updated:
21 Jul 2026 at 08:11 UTC
Jump to comment: Most recent
Drupal includes some files in the autoload classmap section of core/composer.json that we know are loaded on every request - this avoids having to locate the files and cache them in APCu.
We haven't updated this list for a while, and it definitely doesn't include Symfony runtime and related files recently added which are some of the first classes to be loaded during any bootstrap.
On a page cache hit, see which files go via the classloader findFile method and add them to the classmap.
Comments