6 ms·
If it works like a forum in the classic sense, why can't I at least get some basic content with JS disabled?
by crawl_soever 5y ago
If it works like a forum in the classic sense, why can't I at least get some basic content with JS disabled?
- Chris2048 5y agopresumably that places a greater burden on the server?
- hkt 5y agoI'd imagine not - a javascript frontend is still hitting an API, after all. A dynamically generated, static frontend (eg, HTML and some CSS) is something that can be trivially cached, too.
- Chris2048 5y agoAssuming it's static. If there is any post hiding, or filtering based on filters/search etc that might not be cached.
- anr13 5y agoThe backend load is almost nothing, everything is done client side for rendering, on the fly generation of the CSS and more. There is no CSS in the document, it's all rendered as it is needed and modified as it's needed. This also allows for colours based on percentages and OS set colours or modes like light and dark without having both loaded in the page. It also means rich embeds and more like videos, tweets, articles and formatting.