Google and JS scripts

Hi guys,

We’re running our forum on Discourse (on a subfolder), our SEO specialists made an analysis on it. Besides the speed of the website, they have one more concern about JavaScript processing. For now, Discourse uses dynamic rendering as a workaround, but what are your plans for the future, when Google will fully handle processing JavaScripts and DR becomes simply a form of cloaking?

By “dynamic rendering”, I suppose you mean we have a dedicated crawler view that doesn’t use JS? That’s not cloaking since it’s the exact same content.

2 Likes

You’re serving almost the same content for both human and crawler-only views, with completely different functionality around that content. This is kind of okay at the moment. However, as soon as Google feels comfortable enough with JS, it will inevitably become a form of cloaking - this already having a “workaround” status and possibly impacting page performance metrics that jointly constitute a Google ranking signal.
With Google moving to an evergreen bot, it’s our belief that moment is not really far away and we’re curious about your strategy should the above happen.

Once we’re confident that Google is crawling our application as well as our crawler view, we’ll just automatically redirect Google Bot to the app instead of the crawler view.

5 Likes

We believe your SEO advisors are wildly off base here. We have had a lot of bad experiences with SEO “experts” that don’t know what they are talking about.

4 Likes

Another problem connected with these JS is the speed limit of our website:

Discourse is a JavaScript app, so it trades first run time for insanely fast subsequent page loads. The first hit requires the JavaScript app, Discourse, to be downloaded to the browser.

2 Likes