Title: Render Blocking CSS &amp; JS
Last modified: December 6, 2019

---

# Render Blocking CSS & JS

 *  Resolved [steveoww](https://wordpress.org/support/users/steveoww/)
 * (@steveoww)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/)
 * Hi Guys,
 * Some months ago i have installed autoptimize. Great tool and i had a good pagespeed.
   Since some time our pagespeed went up from 1.5 sec to 5.2 sec (tested with thinkwithgoogle.
   com) and our performance score decreased from 83 to 52 (lighthouse Google).
 * The lighthouse report says there are render blocking issues (JS and CSS autoptimze
   and jquery). I installed critical css but that doesn’t help pagespeed in think
   with google and performance score in lighthouse. What can i do to fix the issue
   with render blocking css + JS and get the pagespeed back to 1.5 sec?
 * Cheers Stefan
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frender-blocking-css-js%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12211820)
 * hey Stefan;
    Did a quick GPSI test and that one does not single out any Autoptimized
   JS as being render-blocking, so that’s easy 😉
 * Now for CSS; “critical CSS” should most definitely help with getting less (no)
   render-blocking CSS, is that still active and if so how many/ which rules has
   the “power-up” generated up till this point?
 * groeten uit het altijd zonnige België,
    frank
 *  Thread Starter [steveoww](https://wordpress.org/support/users/steveoww/)
 * (@steveoww)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12212533)
 * Hi Frank,
 * strange because I had tested it before and got the message that javascript of
   autoptimize is being blocked. Glad this is not the case now 🙂
 * As for CSS. On the overview page I have the option “Insert important CSS in HTML,
   postpone the rest?” checked. I have left the corresponding field blank.
 * On the CriticalCSS tab there is a line for Job Queue for each page. Is that what
   you mean? The option “rules” and the option “advanced settings” I have not done
   anything with.
 * Groeten uit het natte Nederland
    Stefan
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12212566)
 * OK, do you see any AUTO rules having been generated? Or is that list empty?
 * (en eigenlijk is het hier ook pokkegrijs, behalve in ons hartje .. 😉 )
 *  Thread Starter [steveoww](https://wordpress.org/support/users/steveoww/)
 * (@steveoww)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12212585)
 * Uhm..where can i find the auto rules? I only see an overview in the job queue(
   see below). The section with rules are empty. When i log into criticalness.com
   i get the message THE CRITICAL CSS RENDERS THE PAGE BLANK 🙁
 * Status Target Rule Page Path Page Type Creation Date Finish Date Actions
    N /
   massage-aanbod/zwangerschapsmassage/ /massage-aanbod/zwangerschapsmassage/ is_page
   5-12-2019 23:24:39 N/A None
    -  This reply was modified 6 years, 6 months ago by [steveoww](https://wordpress.org/support/users/steveoww/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12212611)
 * so no rules as seen below?
 * ![](https://i0.wp.com/i.imgur.com/fugVAWr.png?ssl=1)
 * if that’s the case the queue processing isn’t running, can you check [this FAQ entry](https://wordpress.org/plugins/autoptimize-criticalcss/#i%20only%20see%20%E2%80%9Cn%E2%80%9D%20jobs%20and%20no%20rules%20and%20i%E2%80%99m%20getting%20%E2%80%9Cwordpress%20cron%E2%80%9D-warnings%2C%20what%20should%20i%20do%3F)?
 *  Thread Starter [steveoww](https://wordpress.org/support/users/steveoww/)
 * (@steveoww)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12212635)
 * No rules like that 🙁
 * i installed cron events and get the following:
 * ao_ccss_queue None ao_ccss_queue_control() 2019-12-05 21:58:41 (now)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12212758)
 * `2019-12-05 21:58:41` as next run indicates that job is not getting triggered
   properly. can you click “run now” a couple of times (with let’s say 20-60s interval),
   but ultimately you will need to (have your hoster) dive into system cron as explained
   in the FAQ item.
 *  Thread Starter [steveoww](https://wordpress.org/support/users/steveoww/)
 * (@steveoww)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12213842)
 * Thanks Frank!
 * Issue with cron is fixed but still no improved. Instead i have other issues on
   the website when critical css is activated (i’m not an expert in css ;-)). I 
   contacted criticalness.com so hopefully they can give some advice. Otherwise 
   i have to search for another solution.
 * Have a great weekend!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12214355)
 * Feel free to ask here as well, who knows I can help 🙂
 *  Thread Starter [steveoww](https://wordpress.org/support/users/steveoww/)
 * (@steveoww)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12215688)
 * Hi Frank,
 * I just for a message from criticalcss.com (see below). I van switch off every
   plug-in but is there an online tool where I can check if display:none is gone?
 * Groeten uit Nederland 😉
 * You will need to find what in your theme/plugins sets this “body { display: none}”
   CSS rule. If you use any kind of spinner or preloader it could be coming from
   there, otherwise I think it’s most likely from the theme itself. If you don’t
   know, I suggest asking the theme developers. Ask them how you can make sure that
   the page is showing content also before javascript loads, how to remove the CSS
   rules that hide the content.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12216129)
 * I checked the HTML source of your un-optimized homepage, but the offending CSS
   is inline and there is no indication where it might be coming from;
 * ![](https://i0.wp.com/i.imgur.com/oUtiEt3.png?ssl=1)
 * But based on the JS just after that (which a.o. does `jQuery('body').fadeIn();`),
   I’m 99% sure “Super Fly Menu”.
 * Pretty freaky stuff for “just” a menu. Maybe you can make the `body{display:none}`
   go away by changing the configuration?
 *  Thread Starter [steveoww](https://wordpress.org/support/users/steveoww/)
 * (@steveoww)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12218468)
 * Thank you so much Frank 🙂
 * I often have issues with this plugin off canvas menu. I removed it and built 
   an off canvas myself. I’m going to test it again tonight and hopefully the critical
   css will go well now.
 * Thanks again!!! Have a nice day!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12218482)
 * graag gedaan 🙂

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Render Blocking CSS & JS’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/render-blocking-css-js/#post-12218482)
 * Status: resolved