• Resolved Scamaz

    (@scamazdid911)


    Not sure what the cause is but in the last week I’ve started getting an “Eliminate render-blocking JavaScript and CSS in above-the-fold content” warning from Pagespeed Insights.

    Remove render-blocking JavaScript:
    https://s0.wp.com/wp-content/js/devicepx-jetpack.js

    Prior to this was getting a 98 rating mobile/desktop and had no issues with Above the Fold Content. Have not changed anything in Jetpack or any other plugins.

    Any ideas why this issue just popped up?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    It’s surprising; this file is normally loaded in the footer so it would always load after your content.

    Could you post your site URL here, so I can have a look?

    If you want it to remain private, you can also contact us via this contact form:
    http://jetpack.com/contact-support/

    Thread Starter Scamaz

    (@scamazdid911)

    Just submitted url via contact-support. On mobile so might there might be typos in url.

    Also, had to revert a functions.php change I made to get rid of the warning shortly after I posted the original post here as seen here https://www.wpcub.com/remove-devicepx-jetpack-js-wordpress-blog/

    add_action(‘wp_enqueue_scripts’, create_function(null, “wp_dequeue_script(‘devicepx’);”), 20);

    Again the above change to functions.php has been reverted so you should see the warning (just checked pagespeed insights and the warning is back).

    • This reply was modified 7 years, 2 months ago by Scamaz.
    • This reply was modified 7 years, 2 months ago by Scamaz.
    • This reply was modified 7 years, 2 months ago by Scamaz.
    Thread Starter Scamaz

    (@scamazdid911)

    Not sure if you marked this resolved or I did, but issue is still there and updating this as still “not resolved” because the warning still exists unless I edit the functions.php

    • This reply was modified 7 years, 2 months ago by Scamaz.
    • This reply was modified 7 years, 2 months ago by Scamaz.
    • This reply was modified 7 years, 2 months ago by Scamaz.
    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Since you sent us your site URL via email, we’ll follow up with this issue there. Look out for a reply from us soon!

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove render-blocking JavaScript: devicepx-jetpack.js’ is closed to new replies.