• Resolved MiMango

    (@mimango)


    Hi again!
    I’ve been trying to optimize sites that I work on to fit better with Google PageSpeed scores, and have noticed that some sites still get this error after I install the ‘Autoptimize’ plugin to resolve the issue for other scripts.

    https://gyazo.com/baf6ad17c2244097d97079824785bc90

    I’m wondering if there’s anyway to keep Slimstat activated, but move the render-blocking JS.

    Additionally, I’m not sure why, but some sites don’t have this issue after installing the plugin.

    Thanks for any help!

    https://ww.wp.xz.cn/plugins/wp-slimstat/

Viewing 7 replies - 16 through 22 (of 22 total)
  • Plugin Contributor Jason Crouse

    (@coolmann)

    It is also true that some bots disguise themselves as regular browsers, and unfortunately there is no way to tell if they are being honest or not: only javascript (which is run on their end) can help in those cases. So, long story short, you might be getting more “false positives” now that you are using Server Mode.

    Thread Starter MiMango

    (@mimango)

    Did some more experimenting, this time with Stealth Mode set to ‘Off’.
    I noticed that the renderblocking error for the CDN script was removed while using the default theme for wordpress. Any idea why this could be?
    I’m using my own theme (it’s more on the simple side, but it has wp_header and wp_footer which I thought would plugins).

    Plugin Contributor Jason Crouse

    (@coolmann)

    You may want to compare the two HTML source codes (your theme vs the default one) and see if yours is adding or enqueueing more scripts or links than the other one.

    Thread Starter MiMango

    (@mimango)

    I’ve found that disabling the “UniteGallery” plugin removes the scripting as well, however I rely on this plugin pretty heavily so I would prefer keeping it.

    If it helps, I am using Autoptimize with SlimStatParams in the exclusion list for scripts.

    I also understand if this is too vague for you to come up with a solution with, but I’m just trying to bounce ideas off you to see if you have encountered anything like this before, as I am still trying to find a solution to the overall problem.

    Plugin Contributor Jason Crouse

    (@coolmann)

    Unfortunately we haven’t seen anything like this before. But it is possible that UniteGallery and Slimstat combined trigger a false positive…

    Thread Starter MiMango

    (@mimango)

    Found a solution by installing the “Async Javascript Optimizer” plugin.
    Thanks for all of you help and input, Camu!

    Plugin Contributor Jason Crouse

    (@coolmann)

    Thanks for sharing, it will be useful to other people dealing with the same issue

Viewing 7 replies - 16 through 22 (of 22 total)

The topic ‘Render-blocking JS’ is closed to new replies.