The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Web Design
    4. Fixing Render Blocking Javascript and CSS in the Above-the-fold content

    Fixing Render Blocking Javascript and CSS in the Above-the-fold content

    Web Design
    9 3 90.9k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KempRugeLawGroup
      KempRugeLawGroup last edited by

      We don't have a responsive design site yet, and our mobile site is built through Dudamobile. I know it's not the best, but I'm trying to do whatever we can until we get around to redesigning it. Is there anything I can do about the following Page Speed Insight errors or are they just a function of using Dudamobile?

      Eliminate render-blocking JavaScript and CSS in above-the-fold content

      Your page has 3 blocking script resources and 5 blocking CSS resources. This causes a delay in rendering your page.None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.Remove render-blocking JavaScript:

      • http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js
      • http://mobile.dudamobile.com/…ckage.min.js?version=2015-04-02T13:36:04
      • http://mobile.dudamobile.com/…pts/blogs.js?version=2015-04-02T13:36:04

      Optimize CSS Delivery of the following:

      • http://fonts.googleapis.com/…:400|Great+Vibes|Signika:400,300,600,700
      • http://mobile.dudamobile.com/…ont-pack.css?version=2015-04-02T13:36:04
      • http://mobile.dudamobile.com/…kage.min.css?version=2015-04-02T13:36:04
      • http://irp-cdn.multiscreensite.com/kempruge/files/kempruge_0.min.css?v=6
      • http://irp-cdn.multiscreensite.com/…mpruge/files/kempruge_home_0.min.css?v=6

      Thanks for any tips,

      Ruben

      1 Reply Last reply Reply Quote 0
      • BlueprintMarketing
        BlueprintMarketing last edited by

        Hi Ruben,

        Here is a tutorial on how to fix that issue. If I could explain it better than this I would however I feel this does a fantastic job if you're doing this on WordPress let me know and I will tell you how to fix it on there is well.

        Here's the resource

        http://www.feedthebot.com/pagespeed/render-blocking.html

        http://www.feedthebot.com/pagespeed/defer-loading-javascript.html

        The below code is what Google recommends. This code should be placed in your HTML just before the tag (near the bottom of your HTML file). I highlighted the name of the external JS file.

        sincerely,

        Thomas

        KempRugeLawGroup 1 Reply Last reply Reply Quote 0
        • BlueprintMarketing
          BlueprintMarketing last edited by

          you will also need to find your Cardinal path and simply combine JavaScript and CSS as well as prioritize content that is above the fold. By doing so this will help you to create one JS file ( possibly more if it is impossible to combine for whatever reason)

          See more here

          http://www.feedthebot.com/pagespeed/prioritize-visible-content.html

          https://developers.google.com/speed/docs/insights/BlockingJS

          If WordPress

          http://www.wpcub.com/eliminate-render-blocking-javascript-and-css-in-above-the-fold-content/

          I really hope this helps,

          Tom

          1 Reply Last reply Reply Quote 1
          • KempRugeLawGroup
            KempRugeLawGroup last edited by

            I will take a look at it. Yes, I do need to do it on our Wordpress site as well, but fortunately, Page Speed Insights doesn't think our desktop version is as abysmal as our mobile one. But, it does still show up as something that should be fixed.

            Thanks for the reference material!

            • Ruben
            1 Reply Last reply Reply Quote 0
            • KempRugeLawGroup
              KempRugeLawGroup @BlueprintMarketing last edited by

              Actually, I have a quick follow up. In my wp-admin in the editor section, I only see CSS and PHP files. Then, on the ftp, I see a public_html folder, but that folder has a ton of different files in it...none of which end in html. Any suggestions on where this html file might live?

              Thanks,

              Ruben

              BlueprintMarketing 1 Reply Last reply Reply Quote 0
              • BlueprintMarketing
                BlueprintMarketing last edited by

                Use this to make a critical render path

                http://www.feedthebot.com/pagespeed/critical-render-path.html

                with

                http://www.feedthebot.com/tools/css/ (for CSS)

                this for JS

                http://refresh-sf.com/

                http://javascript-minifier.com/

                http://www.jsmini.com/

                If you add this it will fix this as well

                https://developers.google.com/speed/pagespeed/module/filter-js-minify

                KempRugeLawGroup 1 Reply Last reply Reply Quote 2
                • BlueprintMarketing
                  BlueprintMarketing @KempRugeLawGroup last edited by

                  there is not a very easy way to modify HTML on WordPress because it is all based on PHP. Unless you can change the PHP code via by FTP or many other methods including plug-ins it takes a developer.

                  http://www.gregreindel.com

                  I know a person who could fix this for you very easily there contact information is in the URL under contact. There are also some plug-ins that will eliminate this

                  https://wordpress.org/plugins/async-js-and-css/screenshots/

                  the best methods in my opinion are done by a developer or sometimes a plug-in

                  http://www.feedthebot.com/mobile/

                  http://www.feedthebot.com/pagespeed/critical-render-path.html

                  I will be right back and answer your other questions

                  Tom

                  1 Reply Last reply Reply Quote 0
                  • KempRugeLawGroup
                    KempRugeLawGroup @BlueprintMarketing last edited by

                    Thanks, Thomas!

                    1 Reply Last reply Reply Quote 0
                    • Khannnnnnnnnnns
                      Khannnnnnnnnnns last edited by

                      Thanks for this; I will implement the practices on my Cybergeak Blog Really Thankful to the engineers

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      • How to fix non-crawlable pages affected by CSS modals?
                        zeehj
                        zeehj
                        0
                        2
                        86

                      • Best Practices for Leveraging Long Tail Content & Gated Content
                        Allie_Williams
                        Allie_Williams
                        0
                        3
                        601

                      • Above the Fold Content - Use of large images
                        HashtagHustler
                        HashtagHustler
                        1
                        8
                        2.5k

                      • Duplicate Content? Designing new site, but all content got indexed on developer's sandbox
                        KeriMorgret
                        KeriMorgret
                        0
                        4
                        186

                      • Page Content
                        MoosaHemani
                        MoosaHemani
                        0
                        10
                        207

                      • Content Stacking - CSS positioning
                        HiveDigitalInc
                        HiveDigitalInc
                        0
                        2
                        784

                      • SEOMoz crawl report shows a duplicate content and duplicate title for these two url's http://freightmonster.com/ and http://freightmonster.com/index.html. How do I fix this?
                        Smith-Digital
                        Smith-Digital
                        1
                        3
                        610

                      • Javascript Redirects
                        CoolSEOnStuff
                        CoolSEOnStuff
                        0
                        3
                        1.3k

                      Get started with Moz Pro!

                      Unlock the power of advanced SEO tools and data-driven insights.

                      Start my free trial
                      Products
                      • Moz Pro
                      • Moz Local
                      • Moz API
                      • Moz Data
                      • STAT
                      • Product Updates
                      Moz Solutions
                      • SMB Solutions
                      • Agency Solutions
                      • Enterprise Solutions
                      • Digital Marketers
                      Free SEO Tools
                      • Domain Authority Checker
                      • Link Explorer
                      • Keyword Explorer
                      • Competitive Research
                      • Brand Authority Checker
                      • Local Citation Checker
                      • MozBar Extension
                      • MozCast
                      Resources
                      • Blog
                      • SEO Learning Center
                      • Help Hub
                      • Beginner's Guide to SEO
                      • How-to Guides
                      • Moz Academy
                      • API Docs
                      About Moz
                      • About
                      • Team
                      • Careers
                      • Contact
                      Why Moz
                      • Case Studies
                      • Testimonials
                      Get Involved
                      • Become an Affiliate
                      • MozCon
                      • Webinars
                      • Practical Marketer Series
                      • MozPod
                      Connect with us

                      Contact the Help team

                      Join our newsletter
                      Moz logo
                      © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                      • Accessibility
                      • Terms of Use
                      • Privacy