Issues

PageSpeed: Reduce Unused JavaScript

back to issues overview

Reduce Unused JavaScript

Pages with unused JavaScript that are larger than necessary in bytes and reducing page speed.

How to Analyse in the SEO Spider

To populate this filter the PageSpeed Insights API must be connected via ‘Config > API Access > PSI’.

View URLs with this issue in the ‘PageSpeed’ tab and filter and use the lower ‘PageSpeed Details’ tab to click on the issue on the left-hand side, and see details of the JavaScript files on the right-hand side.

Bulk export the pages and JavaScript via ‘Reports > PageSpeed > Reduce Unused JavaScript’.

What Triggers This Issue

This issue is triggered when pages include unused JavaScript, resulting in larger file sizes than necessary, which can subsequently reduce page speed.

How To Fix

Remove unused JavaScript code to reduce unnecessary bytes consumed by network activity to improve page load performance.

Further Reading

Back to top