Recommendations

Lighthouse
Metrics
Audits
PageSpeed (Legacy)
YSlow (Legacy)

PageSpeed: Minify CSS

Overview

Compacting CSS code can save many bytes of data and speed up downloading, parsing, and execution time.

Read our Lighthouse documentation to learn more about CSS minification.

How does your site score on this recommendation?

Summary

CSS
High
Easy
95%

PageSpeed recommends:

Minifying CSS has the same benefits as those for minifying JS: reducing network latency, enhancing compression, and faster browser loading and execution.

Several tools are freely available to minify JavaScript, including the YUI Compressor and cssmin.js.

Read More

Related YSlow Recommendations