Why Some Tools Load Later
Purpose
Explain why some third party tools load later with Speed Layer, and how that supports performance.
What changes after installation
Speed Layer is designed to prioritize the work that helps a shopper see and use the page quickly. One common outcome is that some third party tools are loaded later than before.
Why delaying tools can improve performance
Third party scripts often:
- Run JavaScript on the main thread
- Trigger additional downloads
- Change the DOM and layout
When too many scripts run during initial render, the browser has less time to paint key content and respond to user input.
How Speed Layer decides when to release deferred scripts
Speed Layer uses a two phase execution model:
- Phase 1 runs early and can set up script interception
- Phase 2 begins after the page reaches stability signals, then deferred scripts can be released
What should not be delayed
Some tools should load early because they are required for:
- Legal compliance (for example, certain consent requirements)
- Site functionality needed for the first interaction
- Critical conversions on key pages
Related pages
- Why Tools May Appear Delayed (and Why That’s Good)
- Ensuring Critical Tools Still Load Properly
- How Speed Layer Improves Interactivity