4 ms·
You wouldn’t pull a 100mb database to query in the browser; that’s not how static sites work. Instead, you’d rebuild the relevant pages whenever the content in
by shortcake27 3y ago
You wouldn’t pull a 100mb database to query in the browser; that’s not how static sites work. Instead, you’d rebuild the relevant pages whenever the content in the DB changes.
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.
- Gordonjcp 3y agoBut OP mentioned doing all the "dynamic" stuff in 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.
- whstl 3y ago"Doing dynamic stuff in the browser" doesn't imply doing every single thing in the browser. 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.