Overloading Google's Fetch & Mobile Testing Tools With Too Many JavaScript & CSS Includes

Mar 1, 2016 - 8:16 am 1 by

Wrenches2 Google 1900px

What happens when you have dozens and dozens of JavaScript and CSS includes, some hosting internally and some hosted externally? Well, sometimes it is just too much for Google's testing tools to handle and they just give up waiting on a response from the includes.

A recent case posted in the Google Webmaster Help forums shows one site that has 86 JavaScript includes and 21 CSS file includes and Google just is being impatient with it and returning errors in their testing tools, but in the Fetch tool and the mobile friendly testing tool.

Here is a screen shot of the mobile testing tool:

click for full size

Google's John Mueller replied to the webmaster explaining this saying:

The main problem comes down to there just being too many JS (86) & CSS (21) files used in that page. We have to fetch all of them in order to render the page, and since they're all on the same host (even if one is called "cdn" -- it's the same IP address), we're limited by the time we have available. With that, we end up dropping some of them, and can't properly render the page (it doesn't allow the code to completely run). You also see that with the Page Speed Insights tool, or with webpagetest.org (sample run).

The other problem here is that your page has a "meta fragment" on it, but the "escaped-fragment" version of the URL doesn't properly display either.

Ideally, I'd recommend fixing the issue with the number of JS & CSS files regardless of any rendering. This will significantly improve how your page displays, to users & search engines. Past that, you need to decide whether to use the AJAX crawling scheme or not. (We don't recommend it anymore, but we currently still support it.) If you do want to use it, make sure that the "escaped-fragment" version of the URL returns a fully rendered view that properly matches what a user would see.

So keep it simple with all the includes.

Forum discussion at Google Webmaster Help.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google Ranking Volatility, Tons Of Google Bugs, Most Read Articles, Bing Deep Search & Quality... - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: March 1, 2024

Mar 1, 2024 - 4:00 pm
Search Video Recaps

Search News Buzz Video Recap: Google Ranking Volatility, Tons Of Google Bugs, Most Read Articles, Bing Deep Search & Quality & SEOs Not Loving Google

Mar 1, 2024 - 8:01 am
Google

Google Court Document Says Search Quality Continues To Improve

Mar 1, 2024 - 7:51 am
Google Search Engine Optimization

Google Structured Data Carousels Beta Documentation Added

Mar 1, 2024 - 7:41 am
Google

Now You Can Opt Out Of Google Search Place Entities In Page Insights

Mar 1, 2024 - 7:31 am
Google Maps

Google Updates Business Profiles Customer Interactions Every Few Days

Mar 1, 2024 - 7:21 am
Previous Story: Google AdWords Editor 11.3 Now Available