undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • SEO Q&A

      Insights & discussions from an SEO community of 500,000+.

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

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

  1. Home
  2. Digital Marketing
  3. Web Design
  4. Fixing Render Blocking Javascript and CSS in the Above-the-fold content

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

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

Web Design
3
9
92.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • KempRugeLawGroup
    KempRugeLawGroup last edited by Apr 6, 2015, 2:58 PM

    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
    • Khannnnnnnnnnns
      Khannnnnnnnnnns last edited by Jun 16, 2017, 3:51 PM Jun 16, 2017, 3:50 PM

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

      1 Reply Last reply Reply Quote 0
      • topic:timeago_earlier,2 years
      • KempRugeLawGroup
        KempRugeLawGroup @BlueprintMarketing last edited by Apr 6, 2015, 4:48 PM Apr 6, 2015, 4:48 PM

        Thanks, Thomas!

        1 Reply Last reply Reply Quote 0
        • BlueprintMarketing
          BlueprintMarketing @KempRugeLawGroup last edited by Apr 6, 2015, 4:40 PM Apr 6, 2015, 4:40 PM

          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
          • BlueprintMarketing
            BlueprintMarketing last edited by Apr 6, 2015, 4:33 PM Apr 6, 2015, 4:33 PM

            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 Apr 6, 2015, 4:48 PM Reply Quote 2
            • KempRugeLawGroup
              KempRugeLawGroup @BlueprintMarketing last edited by Apr 6, 2015, 4:16 PM Apr 6, 2015, 4:16 PM

              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 Apr 6, 2015, 4:40 PM Reply Quote 0
              • KempRugeLawGroup
                KempRugeLawGroup last edited by Apr 6, 2015, 3:58 PM Apr 6, 2015, 3:58 PM

                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
                • BlueprintMarketing
                  BlueprintMarketing last edited by Apr 6, 2015, 3:56 PM Apr 6, 2015, 3:43 PM

                  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
                  • BlueprintMarketing
                    BlueprintMarketing last edited by Apr 6, 2015, 3:56 PM Apr 6, 2015, 3:37 PM

                    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 Apr 6, 2015, 4:16 PM Reply Quote 0
                    • 1 / 1
                    1 out of 9
                    • First post
                      1/9
                      Last post

                    Got a burning SEO question?

                    Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                    Start my free trial


                    Browse Questions

                    Explore more categories

                    • Moz Tools

                      Chat with the community about the Moz tools.

                    • SEO Tactics

                      Discuss the SEO process with fellow marketers

                    • Community

                      Discuss industry events, jobs, and news!

                    • Digital Marketing

                      Chat about tactics outside of SEO

                    • Research & Trends

                      Dive into research and trends in the search industry.

                    • Support

                      Connect on product support and feature requests.

                    • See all categories

                    Related Questions

                    • Frankie-BTDublin

                      Reason for robots.txt file blocking products on category pages?

                      Hi I have a website with thosands of products. On the category pages, all the products are linked to with the code “?cgid” in the URL. But “?cgid” is also blocked in the robots.txt file for some reason. So I'm thinking it's stopping all my products getting crawled by Google. Am I right here? Is there any reason why a website would want to limit so many URL's? I'm only here a week and the sites getting great traffic, so don't want to go breaking it!!! Thanks

                      Web Design | Apr 23, 2019, 6:34 AM | Frankie-BTDublin
                      0
                    • Dan-Louis

                      How to fix non-crawlable pages affected by CSS modals?

                      I stumbled across something new when doing a site audit in SEMRUSH today ---> Modals. The case: Several pages could not be crawled because of (modal:) in the URL. What I know: "A modal is a dialog box/popup window that is displayed on top of the current page" based on CSS and JS. What I don't know: How to prevent crawlers from finding them.

                      Web Design | Jul 24, 2018, 5:23 PM | Dan-Louis
                      0
                    • Zuken

                      Block parent folder in robot.txt, but not children

                      Example: I want to block this URL (which shows up in Webmaster Tools as an error): http://www.siteurl.com/news/events-calendar/usa But not this: http://www.siteurl.com/news/events-calendar/usa/event-name

                      Web Design | Mar 8, 2016, 8:26 AM | Zuken
                      0
                    • Kingalan1

                      Lots of Listing Pages with Thin Content on Real Estate Web Site-Best to Set them to No-Index?

                      Greetings Moz Community: As a commercial real estate broker in Manhattan I run a web site with over 600 pages. Basically the pages are organized in the following categories: 1. Neighborhoods (Example:http://www.nyc-officespace-leader.com/neighborhoods/midtown-manhattan)  25 PAGES Low bounce rate 2. Types of Space (Example:http://www.nyc-officespace-leader.com/commercial-space/loft-space) 
                      15 PAGES Low bounce rate. 3. Blog (Example:http://www.nyc-officespace-leader.com/blog/how-long-does-leasing-process-take 
                      30 PAGES Medium/high bounce rate 4. Services (Example:http://www.nyc-officespace-leader.com/brokerage-services/relocate-to-new-office-space)  High bounce rate
                      3 PAGES 5. About Us (Example:http://www.nyc-officespace-leader.com/about-us/what-we-do
                      4 PAGES High bounce rate 6. Listings (Example:http://www.nyc-officespace-leader.com/listings/305-fifth-avenue-office-suite-1340sf)
                      300 PAGES High bounce rate (65%), thin content 7. Buildings (Example:http://www.nyc-officespace-leader.com/928-broadway
                      300 PAGES  Very high bounce rate (exceeding 75%) Most of the listing pages do not have more than 100 words.  My SEO firm is advising me to set them "No-Index, Follow". They believe the thin content could be hurting me. Is this an acceptable strategy? I am concerned that when Google detects 300 pages set to "No-Follow" they could interpret this as the site seeking to hide something and penalize us. Also, the building pages have a low click thru rate. Would it make sense to set them to "No-Follow" as well? Basically, would it increase authority in Google's eyes if we set pages that have thin content and/or low click thru rates to "No-Follow"? Any harm in doing this for about half the pages on the site? I might add that while I don't suffer from any manual penalty volume has gone down substantially in the last month. We upgraded the site in early June and somehow 175 pages were submitted to Google  that should not have been indexed. A removal request has been made for those pages. Prior to that we were hit by Panda in April 2012 with search volume dropping from about 7,000 per month to 3,000 per month. Volume had increased back to 4,500 by April this year only to start tanking again. It was down to 3,600 in June. About 30 toxic links were removed in late April and a disavow file was submitted with Google in late April for removal of links from 80 toxic domains. Thanks in advance for your responses!! Alan

                      Web Design | Jul 3, 2014, 5:09 PM | Kingalan1
                      0
                    • danatanseo

                      Can anyone recommend a tool that will identify unused and duplicate CSS across an entire site?

                      Hi all, So far I have found this one: http://unused-css.com/   It looks like it identifies unused, but perhaps not duplicates? It also has a 5,000 page limit and our site is 8,000+ pages....so we really need something that can handle a site larger than their limit. I do have Screaming Frog. Is there a way to use Screaming Frog to locate unused and duplicate CSS? Any recommendations and/or tips would be great. I am also aware of the Firefix extensions, but to my knowledge they will only do one page at a time? Thanks!

                      Web Design | Mar 4, 2014, 4:19 PM | danatanseo
                      0
                    • mmewdell

                      Is it cloaking/hiding text if textual content is no longer accessible for mobile visitors on responsive webpages?

                      My company is implementing a responsive design for our website to better serve our mobile customers. However, when I reviewed the wireframes of the work our development company is doing, it became clear to me that, for many of our pages, large parts of the textual content on the page, and most of our sidebar links, would no longer be accessible to a visitor using a mobile device. The content will still be indexable, but hidden from users using media queries. There would be no access point for a user to view much of the content on the page that's making it rank. This is not my understanding of best practices around responsive design. My interpretation of Google's guidelines on responsive design is that all of the content is served to both users and search engines, but displayed in a more accessible way to a user depending on their mobile device. For example, Wikipedia pages have introductory content, but hide most of the detailed info in tabs. All of the information is still there and accessible to a user...but you don't have to scroll through as much to get to what you want. To me, what our development company is proposing fits the definition of cloaking and/or hiding text and links - we'd be making available different content to search engines than users, and it seems to me that there's considerable risk to their interpretation of responsive design. I'm wondering what other people in the Moz community think about this - and whether anyone out there has any experience to share about inaccessable content on responsive webpages, and the SEO impact of this. Thank you!

                      Web Design | Dec 5, 2013, 11:56 PM | mmewdell
                      0
                    • mdorville

                      Subdomains, duplicate content and microsites

                      I work for a website that generates a high amount of unique, quality content. This website though has had development issues with our web builder and they are going to separate the site into different subdomains upon launch. It's a scholarly site so the subdomains will be like history and science and stuff. Don't ask why aren't we aren't using subdirectories because trust me I wish we could. So we have to use subdomains and I'm wondering a couple questions. Will the duplication of coding, since all subdomains will have the same design and look, heavily penalize us and is there any way around that? Also if we generate a good amount of high quality content on each site could we link all those sites to our other site as a possible benefit for link building? And finally, would footer links, linking all the subdirectories, be a good thing to put in?

                      Web Design | Apr 25, 2013, 8:30 PM | mdorville
                      0
                    • bronxpad

                      Javascript, PhP and SEO Impact?

                      What are the Pro's and Con's of using Java Script and PHP in a site when factoring in SEO?

                      Web Design | May 23, 2012, 5:04 PM | bronxpad
                      0

                    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
                    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

                    Access all your tools in one place. Whether you're tracking progress or analyzing data, everything you need is at your fingertips.

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

                    Looks like your connection to Moz was lost, please wait while we try to reconnect.