Legacy JavaScript
Polyfills or transpiled code aimed only at outdated browsers.
Why it matters
Shipping unnecessary polyfills or legacy transforms adds download, parse, and compile overhead for modern browsers that already support those features.
How to fix it
- Target modern browsers in build tooling to drop unneeded polyfills and transforms.
- Use differential serving if legacy browser support is still required.
- Update bundler and compiler configurations rather than patching generated output.
Where to find it
This finding is reported in the PageSpeed tab, and appears in Findings under the matching severity.
A term you don't recognise is defined in the glossary.
Other pagespeed findings
- Document Request Latency
- LCP Request Discovery
- Render Blocking Requests
- Network Dependency Tree
- Use Efficient Cache Lifetimes
- Layout Shift Culprits
- Improve Image Delivery
- Forced Reflow
- Duplicated JavaScript
- Avoid Enormous Network Payloads
- Minify CSS
- Minify JavaScript
- Reduce Unused CSS
- Reduce Unused JavaScript
- Reduce JavaScript Execution Time
- Minimize Main-Thread Work
- Optimize DOM Size
- Font Display
- Third Parties
- LCP Breakdown
- Avoid Long Main-Thread Tasks
- User Timing Marks and Measures
- INP Breakdown
- Optimize Viewport for Mobile
- Avoid Non-Composited Animations
- Image Elements Have Explicit Width and Height
Findings library, by category.