John Mueller: Fetch As Google Renders AngularJS But Cache Doesn't Currently

Dec 31, 2015 - 8:08 am 1 by

click for full size

John Mueller of Google answered two questions around AngularJS this week, one in the Google Webmaster Help forums and one in a Google Hangout on Tuesday.

The first was why does Google's fetch and render feature in Google Search Console show the page rendered properly but the Google cache version shows nothing at all?

Google's John Mueller said this is normal. He said "At the moment, that's normal: the cached page shows the HTML page as it was fetched, not the rendered view."

So do not worry if you see this for your AngularJS site in Google.

The second question in the hangout was is it okay to generate canonicals and the like through JavaScript in the body area, not the header, will Google pick up on it with AngularJS frameworks. John Mueller said it should work fine that way as Google should render it.

The question was asked at the 43:10 mark into the video:

In an angularJS site, is the generated <head> part considered by Google? So, for example, is it ok to generate the rel="canonical" through JS? Or the render involves only the <body> part?

The answer:

Yes, that is fine. If you use JavaScript to update the head of your page, then as we render those pages we would pick that up and use that as appropriate.

Here is the video embed:

Forum discussion at Google Webmaster Help and Google+.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google Spam Update, Volatility &amp; Indexing Bug, AI Overviews, Google Maps Exploit, Ads, Applebot - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: June 21, 2024

Jun 21, 2024 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google Spam Update, Volatility & Indexing Bug, AI Overviews Tracking & FAQs, Google Maps Exploit, Google Ads, AppleBot & More

Jun 21, 2024 - 8:01 am
Google Updates

Google June 2024 Spam Update Takes Target

Jun 21, 2024 - 7:51 am
Google Search Engine Optimization

Google Search Images Go Missing? Might Be A Quality Issue.

Jun 21, 2024 - 7:41 am
Google

Google Posts Safe Search FAQs

Jun 21, 2024 - 7:31 am
Google

Google Tests Floating Search Bar In Google Discover

Jun 21, 2024 - 7:21 am
Previous Story: Spoiler Alert: Google New Year's Eve Logo Hatches A...