Help and documentation
Speed Low impact Easy 20–40 min
Fewer CSS files
Combine and minify styles.
What it is
Many separate CSS files mean more requests and often duplicates too. Combining and minifying shrinks and unifies them.
Why it matters
Fewer and smaller CSS = faster download and processing. Minification also removes whitespace and comments.
How to do it
- 1Combine CSS into as few files as possible (a build tool).
- 2Minify (removing whitespace, comments).
- 3Remove unused styles.
Conclusion
A small, easy optimization that a build tool usually handles automatically. Combine it with reducing blocking CSS for maximum effect.
Related topics