Issue Task Closed

#104305Define cache.assets in service provider

Benjamin Franzke 07/04/24, 10:02 updated 10/15/24, 09:29

Description

The cache.assets container entry was pregenerated in Bootstrap
for historic reasons: it used to be statically injected into
the IconRegistry and PageRenderer from Bootstrap::init().

This has been refactored with #93475 and #97030, therefore
assets cache generation can now be delayed until it is actually
needed.

Note: It is needed in uncached installtool context, therefore
it is provided in ServiceProvider.php instead of Services.yaml

Reviews 1