sitespeedio / coach

Clear Eyes. Full Hearts. Can’t Lose.
MIT License
1.21k stars 64 forks source link

[compressAssets] Avoid double-compression #301

Open znerd opened 5 years ago

znerd commented 5 years ago

Currently the compressAssets rule indicates that I should compress WOFF2 files. Since WOFF2 files are already compressed, I don't think that is appropriate advice.

In fact I would suggest inverting the rule, and validate that already compressed files (WOFF2, GZIP, to name a few) are indeed not compressed again.

Context:

soulgalore commented 5 years ago

Hi @znerd yeah. Do you have time to do a PR? I'm planning to rework the advice late October or late November, but before that I will focus on getting the next sitespeed.io release out there.

Best Peter