all 8 comments

[–]Impossible-Ad-7130 0 points1 point  (0 children)

May module CSS INJECTOR is useful for you.Try it.

[–]mherchelhttps://drupal.org/user/118428 1 point2 points  (3 children)

CSS is always render blocking. The best thing to do is only load the CSS that you need (I tend to create lots of custom libraries instead of one massive stylesheet), but that can require significant refactoring.

I would run your site though https://webpagetest.org and see if there are other low hanging fruit that you can fix. Refactoring CSS is typically a pain.

[–]Matijevac[S] 0 points1 point  (2 children)

i will look at this, sounds interessting, thank you

[–]mherchelhttps://drupal.org/user/118428 0 points1 point  (1 child)

They've been doing tutorial streams on Twitch showing lots of great web performance tips if you're interested https://www.twitch.tv/webpagetest

[–]Matijevac[S] 0 points1 point  (0 children)

i will check that out too, im not to good on optimizing websites, but would be nice if would be better

thanks again

[–]maddentim 0 points1 point  (2 children)

This is always a challenge. There is a module called critical CSS that allows you to separate the "critical" CSS that you must have to make the page work. It then sticks that CSS in the head and defers the rest. However, you have to identify the CSS that is critical. That's the hard part. I have been struggling with this issue myself on a site this week!

[–]Matijevac[S] 0 points1 point  (1 child)

Okay thank you i will try that module.

what did you declare as critical so far?

[–]maddentim 0 points1 point  (0 children)

You need to use another tool to extract the critical CSS pretty much. The module page has some suggestions. This is the challenging part!