I have an SPA application, and it is not being rendered correctly by Google. I tried going to Google Web Master toolkit, and use the Fetch as google
feature. This is showing just the HTML output from the server, and the bindings etc of AngularJS are not rendering. The status is marked as Complete
, and download time is 0.074 seconds
. Application takes longer than that to execute, so I'm assuming Javascript is not being executed.
My assumptions are two:
- Either Google is not executing javascript for some reason
- Javascript error(s) are not allowing the page to correctly execute
The website works fine if I enter with a normal browser. Is it possible to view the console.log
output somehow of the Fetch as Google
request? Maybe there is some console error which is stopping the page from executing? Do you need to let google know that it is an SPA somehow?