-
Notifications
You must be signed in to change notification settings - Fork 25
Remove preload for AMP runtime again when boilerplate was removed #17
Copy link
Copy link
Closed
Labels
OptimizerP1Medium PriorityMedium PriorityPerformanceSSRRelated to the serverside rendering of the OptimizerRelated to the serverside rendering of the Optimizer
Milestone
Description
Feature description
When the AMP boilerplate is removed by the SSR logic, preloading of the AMP runtime is less critical and it seems to slow down other assets that are of higher priority in that scenario.
The Optimizer should remove an existing preload for the AMP runtime again when the boilerplate was indeed removed.
This was originally reported by @mehigh for an XWP project.
/cc @sebastianbenz
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
- Add small transformer that runs after the
ServerSideRenderingtransformer and removes an existing AMP runtime preload iff the AMP boilerplate was removed.
QA testing instructions
Demo
Changelog entry
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
OptimizerP1Medium PriorityMedium PriorityPerformanceSSRRelated to the serverside rendering of the OptimizerRelated to the serverside rendering of the Optimizer