Issue Task Closed

#107057Deprecate auto-render assets sections

Torben Hansen 07/08/25, 12:48 updated 12/02/25, 13:57

Description

The sections HeaderAssets and FooterAssets introduced with #79413 have never been documented and are rarely used in the extension ecosystem. With the introduction of the asset collector API in #90522, the ViewHelpers f:asset.script and f:asset.css can be used to render assets for a website.

Users using the sections to render pre-render assets (e.g. rel=preload) should either use the PageRenderer directly via PHP or use the new ViewHelpers suggested in #107056.

The sections HeaderAssets and FooterAssets should therefore be deprecated with v14.

Reviews 3