Large inline scripts or styles
OptionalSome work
These pages carry more than 150 KB of script and style code inside the HTML.
Why it matters
Inline code cannot be cached, so every visitor downloads it again on every page view.
How to fix it
- 1
Move the code into external files that the browser can cache.
- How serious is it?
- Notice
- Opportunities and things to keep an eye on.
- How much work is it?
- Some work
- A few hours, often per template.
Further reading: web.dev: Web Vitals
Does your site have this issue?
Check a page for free, or create an account to test your whole website.