PageSpeed: Minify JavaScript

back to issues overview

Minify JavaScript

Pages with unminified JavaScript files 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 files via ‘Reports > PageSpeed > Minify JavaScript’.

What Triggers This Issue

This issue is triggered when pages include unminified JavaScript files, leading to larger file sizes than necessary, which can subsequently reduce page speed.

How To Fix

Minify JavaScript files by reducing whitespace and code that is not necessary to reduce payload sizes and script parse time to improve page load performance.

Further Reading

Back to top