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

**URL:** https://meta.discourse.org/t/generating-a-read-only-no-javascript-light-version-from-a-discourse-instance/238320
**Category:** Support
**Created:** [September 7, 2022, 9:37am UTC](https://meta.discourse.org/t/generating-a-read-only-no-javascript-light-version-from-a-discourse-instance/238320 "2022-09-07T09:37:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![attj](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@attj](https://meta.discourse.org/u/attj)
#### Post date: [September 7, 2022, 9:37am UTC](https://meta.discourse.org/t/generating-a-read-only-no-javascript-light-version-from-a-discourse-instance/238320/1 "2022-09-07T09:37:57Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [September 7, 2022, 9:47am UTC](https://meta.discourse.org/t/generating-a-read-only-no-javascript-light-version-from-a-discourse-instance/238320/2 "2022-09-07T09:47:26Z")

</div>

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:

> [@How public Discourse sites are indexed by search engines like Google](https://meta.discourse.org/t/will-posts-show-up-on-google/1184):
>
> bookmark This reference explains how public Discourse sites work with search engines like Google and how the platform ensures content is properly indexed even as a JavaScript application. person_raising_hand Required user level: All users Search engine indexing of Discourse sites Discourse is built as a JavaScript application, but is specifically designed to ensure search engines can properly crawl and index all content on public sites. How Discourse supports search engine crawlers Wh…

> [@How public Discourse sites are indexed by search engines like Google](https://meta.discourse.org/t/how-public-discourse-sites-are-indexed-by-search-engines-like-google/1184/1):
>
> To view the JS disabled view, you can either install a plugin in Chrome/Firefox that disables JS or disable using [these instructions](https://developers.google.com/web/tools/chrome-devtools/javascript/disable).

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [September 7, 2022, 9:49am UTC](https://meta.discourse.org/t/generating-a-read-only-no-javascript-light-version-from-a-discourse-instance/238320/3 "2022-09-07T09:49:47Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [September 7, 2022, 9:51am UTC](https://meta.discourse.org/t/generating-a-read-only-no-javascript-light-version-from-a-discourse-instance/238320/4 "2022-09-07T09:51:46Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![attj](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@attj](https://meta.discourse.org/u/attj)
#### Post date: [September 7, 2022, 9:59am UTC](https://meta.discourse.org/t/generating-a-read-only-no-javascript-light-version-from-a-discourse-instance/238320/5 "2022-09-07T09:59:17Z")

</div>

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!
