Jump to content


CSS render blocking


6 replies to this topic

#1 Laszlo (guest)

Laszlo (guest)
  • Guests

Posted 20 July 2016 - 01:33 PM

Hi!

 

Thank you very much for this great opencart extension, its very helpful module!

 

At now my javascript rendering is OK, but the google pagespeed tell me that the CSS rendering blocking issue still exists.

I use opencart 2.2 and journal 2.7.

 

Id like to ask that Is there any quick solution to solving this issue?

 

Thank you for your answer.

 

Best Regards,

Laszlo

Hungary

 

 

 


  • 0

#2 MaxD

MaxD

    Administrator

  • Administrators
  • 720 posts

Posted 20 July 2016 - 01:50 PM

Nope, there is no solution for CSS blocking, unfortunately.


  • 0

#3 Guest (guest)

Guest (guest)
  • Guests

Posted 20 July 2016 - 02:43 PM

Thank you, Im sorry to hear that I think if you have a same solution for CSS rendering issue in this extension this will be the the best after opencart and journal :) 

 


  • 0

#4 MaxD

MaxD

    Administrator

  • Administrators
  • 720 posts

Posted 21 July 2016 - 01:18 PM

You are right. The funny thing is, that there is no automatic solution for this warning. Some extensions just include whole CSS into page, but this is really stupid, like cut the head to get rid or headache )


  • 0

#5 Guest (guest)

Guest (guest)
  • Guests

Posted 21 July 2016 - 04:51 PM

Yes, its very complicated and there is no friendly solution, yet :)

 

I put a <noscript id="xyz">your code</noscript> into alpha.php then copy the critical css elements ("Critical CSS extractor" chrome ext) into the HEAD then call a javascript from footer to append the Child after the pageload ( https://developers.g...mizeCSSDelivery

 

 


  • 0

#6 Guest (guest)

Guest (guest)
  • Guests

Posted 23 July 2016 - 09:44 AM

I found a better tool to do the Critical css extracting: https://github.com/giakki/uncss

 

Laszlo


  • 0

#7 MaxD

MaxD

    Administrator

  • Administrators
  • 720 posts

Posted 26 July 2016 - 01:22 PM

Thank you for all that info, it is really expiring.

I have posted new Lightning version with automatic critical CSS creation - http://lightning.devs.mx/download/


  • 0



Reply to this topic



  



 

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Community Skin by Fredson Nunes Junior