Generating a read-only no-javascript light version from a discourse instance

Is it possible to create an alternative site that is read-only, just composed of all topics and posts without any javascript? For people who want to follow the discussions and have javascript disabled on their browsers.

Note that this won’t include any account based mechanism.

You shouldn’t need “an alternate site”

I believe the crawler view is already “no javascript” as is the view for older unsupported browsers, so you could try

  • changing your user agent
  • try a really old browser or
  • just switch off javascript.

See:

4 Likes

AFAIK out there isn’t any such solution at large. But it can’t be too hard to develop. It is basically just static not-up-to-date-mirror with proper headers for Google.

But what would be the point for that? Quite few don’t use JS and when one is doing that he/she knows that the most of functionalites offered by sites are lost.

Sure, that would be blazing fast and easy to cache. But… why? Discourse isn’t painfully slow. It would be a honeypot for useless seo-bots, but even then those wouldn’t leave ”master-Discourse” alone. It wouldn’t help googlebot or does anything helpful as far as I can understand.

There is one situation where it could be helpful, though. And it is situation when Discourse is down and server/reverse proxy/load balancer knows how to redirect traffic.

1 Like

I think OP is looking for totally different solution and — perhaps I’m just another negative person — I don’t believe a second users without JS is the real issue here.

My bad, I was super convinced that it was not going to work by default and haven’t tried disabling javascript. It works exactly as I expected. Thanks a lot for the info!

3 Likes