“Eliminate render-blocking CSS in above-the-fold content”

前端 未结 8 1621
我在风中等你
我在风中等你 2020-11-30 18:01

I\'ve been using Google PageSpeed insights to try and improve my site\'s performance, and so far it\'s proven extremely successful. Things like deferring scripts worked beau

8条回答
  •  佛祖请我去吃肉
    2020-11-30 18:06

    I too have struggled with this new pagespeed metric.

    Although I have found no practical way to get my score back up to %100 there are a few things I have found helpful.

    Combining all css into one file helped a lot. All my sites are back up to %95 - %98.

    The only other thing I could think of was to inline all the necessary css (which appears to be most of it - at least for my pages) on the first page to get the sweet high score. Although it may help your speed score this will probably make your page load slower though.

提交回复
热议问题