Google’s developer advocate Martin Splitt
In other words, JS code is written into an HTML page.
And when you request a JS-based HTML page,
the script communicates with the browser to “take action”.
responsibly can be good for user experience.
In addition, it can help with Google Search Index.
Splitt talked about web performance
with Ada Rose Cannon of Samsung.
Joined by Ada Rose Cannon of Samsung,
Splitt discussed a number of topics about
web performance as it relates to SEO.
If your website pushes fresh content regularly,
overuse of JS can be an issue.
Google uses a two-pass indexing process.
Googlebot first renders the HTML and CSS on
a JS-heavy web page since these are non-JS elements.
It then queues up the page and goes on to
index the rest of the “light” content.
Hence, a JS-heavy website with fresh content
might not be indexed for up to a week.
Recent Google News:
If your website has an indexing lag,
you can use dynamic rendering.
This way Googlebot will get a
static rendered version of your web page.
This will help the page index faster.
Splitt says that HTML and CSS degrade more gracefully.
Hence, they are more resilient than JS.
OmniDigit is a consulting and growth hacking digital marketing agency offering tailored services such as website design, social media marketing, content marketing, SEO, PPC, and CRO.
Drop us a line and let us help you grow.