This is stated by Google’s Search Advocate John Mueller in the latest installment of the Ask Googlebot video series on YouTube.
The question reads:
“The cached version of React pages shows a blank page. What parameters should be considered while coding the React pages with SSR to make them Googlebot friendly?”
A cached page is a snapshot of what the URL looked like the last time it was crawled by Googlebot.
When a cached page looks like it’s empty, or is missing content, it’s natural to think Googlebot ran into a problem when crawling it. But that’s not always the case.
As Mueller explains, Google’s cache only captures the HTML elements on a page.
Google’s Cache Displays HTML Only
Not from a technical standpoint, but rather from security standpoint.
“Google Search sometimes keeps a copy of the HTML page that was fetched from a server and shows that to users in the form of a cached page. That is, however, really just the HTML page.
While an empty page in Google’s cache may be discouraging, what really matters for search is how the page gets indexed.