How to make lighter Integrity Light CSS

Hi,

as you can see from this Coverage screenshot on Chrome, the Integrity Light CSS on my website has got a lot of unused bytes.

Is there a way to delete or deactivate some data that are unused in order to make the website faster?

I hope I make myself clear. Thanks.

Giacomo

Hi Giacomo,

Thanks for reaching out.

Unfortunately, it’s not currently possible. Every part of that is needed and required, and it doesn’t mean it should be always used in all pages that loads. https://developers.google.com/web/tools/chrome-devtools/coverage. And since there is no way to predict which will be used per page, then it will be hard to refactor it per page. That setup is only good for scratch-build sites where you already know the content of a page and what’s needed CSS. In Wordpress, it’s not possible possible since it can be re-use anytime dynamically.

Thanks!

Hi Rad,

thank you for your reply. I was afraid to get this answer, but there’s not so much to be done.

Bye!

You’re welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.