Google cautions against too much JavaScript usage

 A few weeks back Google shared that JavaScript functionality can become a problem for websites. A Google senior had this to say: “There are lots of people that like these JavaScript frameworks, and they use them for things where JavaScript really makes sense, and then they’re like, ‘Why don’t I just use it for everything?’ But this leads to a problem because AI bots are the ones doing the crawling for search engines. And guess what? AI bots can’t read JavaScript.”

So it’s to do with the whole AI revolution. No surprise there.

But no need to panic. As usual Google has some advice. And here it is:

  • Use server-side rendering for key content.
  • Make sure to include core content in the initial HTML.
  • Apply progressive enhancement techniques.
  • Use a debugging tool to check for potential JavaScript issues.

Ok I got none of that, but I did forward it off to the web development team!