@fell @FoxVK @hackerboards pre-generating the data on the server side has always been more efficient than running JS to render. I think this decision was made more to offload server costs of displaying content that changes a lot. But hackerboards data doesn't change a lot so caching server side generated pages is a perfect solution :)
Conversation
Notices
-
Embed this notice
Martijn Braam (martijnbraam@fosstodon.org)'s status on Thursday, 26-Oct-2023 03:59:32 JST Martijn Braam - Haelwenn /элвэн/ :triskell: likes this.
-
Embed this notice
Felix Urbasik (fell@ma.fellr.net)'s status on Thursday, 26-Oct-2023 03:59:34 JST Felix Urbasik @FoxVK @hackerboards It really is a shame. Back in the 2010s everyone wanted to dynamically load stuff with JavaScript because downloading the entire page every time was too slow.
Now, with bandwidths caught up, it's actually faster to just send the entire HTML and be done with it.
-
Embed this notice
foxvk@mastodon.cloud's status on Thursday, 26-Oct-2023 03:59:35 JST FoxVK @fell @hackerboards interesting how we forgot how fast web could be...
-
Embed this notice
Felix Urbasik (fell@ma.fellr.net)'s status on Thursday, 26-Oct-2023 03:59:40 JST Felix Urbasik Now, this is a prime example of peak efficient web design: https://hackerboards.com
- loads in under 200ms
- 132 KB transferred
- works without #JavaScript
- uses system font and native controls
- still looks and feels goodWell done, @hackerboards!
My only gripe is that it doesn't respect `prefers-color-scheme` of the browser.