Why is that supposed to be better?
Why is that supposed to be better?
Now, for a forum, I’m not sure this is a good idea, unless you have a super fast optimised build process. Even then, the delay in build is not what people expect from a forum. But the OP is not suggesting pulling a 100mb db down into the browser.
I know how static sites work, I run dozens of them for people.
I don't see how using WASM improves the situation any.
One can perfectly store data as JSON or even Markdown itself on separate files but do the templating in the frontend, for example.
Pretty easy and doesn't require downloading 100mb of data.
Especially the ones predating PHP. Also a couple of the most popular open source Perl ones. I remember Matt's wwwboard working like this, for example.
Some of them didn't. But A LOT certain did.