However, Google’s Martin Splitt, a webmaster trends analyst, recently suggested that webmasters should begin moving away from the coding language to rank most quickly on search engines.
Specifically, they discussed how using too much JS can drag down a site’s performance and potentially drag them down in Google’s search index.
One of the biggest issues that arise with overusing JS is when sites publish content on a daily basis.
This means Java-heavy pages may not be completely crawled and indexed for up to a week after being published.
For time-sensitive information, this can be the difference between being on the cutting-edge and getting left behind.
What You Can Do Instead
Splitt offers a few different techniques developers can use to ensure their site is being efficiently crawled and indexed as new content is published.
One way to get around the issue would be to use dynamic rendering, which provides Google with a static rendered version of your page – saving them the time and effort of rendering and crawling the page themselves.
The best course of action, though, would be to simply rely primarily on HTML and CSS for time-sensitive content.
The discussion gets pretty technical, but you can view the entire discussion in the full video below: