Remove unused CSS on the fly?

There is currently a problem loading many of my pages [using GooglePageSpeed] and it seems to load a lot of unused CSS.

If I try to break CSS, then I get the error "too many CSS files." I am wondering if there are any jquery plugins [or others] that can RENDER use only CSS for the loaded page and ignore the rest?

Does this look like a dynamic CSS intercoder? It would be very helpful ....

+3
source share
5 answers

If you do not send hundreds of kb css, then it does not matter.

Dynamic CSS changer will destroy browser caching ability, resulting in higher transfer.

+4

Dust-Me Selectors ( firefox), css . , , , .

alt text

+4

Scaffold . , , .

CSS JavaScript, , .

+1

, , css . , , /.

CSS , , -, . Firefox Firebug, CSS. , , CSS .

+1

Grunt UnCSS. CSS . :

CSS

+1

Source: https://habr.com/ru/post/1733489/


All Articles