top | item 44709856

(no title)

ormsaregreat | 7 months ago

Hitting the database should be avoided in a web application, and use keys as much as possible. All heavy objects should be previously cached in disk.

discuss

order

listenallyall|7 months ago

That sounds like an awesome idea for a new, post-React web framework. Instead of simply packaging up an entire web SPA "application" and sending it to the client on first load, let's package the SPA app AND the entire database and send it all - eliminating the need for any server calls entirely. I like how you think!

about3fitty|7 months ago

I can unironically imagine legitimate use cases for this idea. I’d wager that many DBs could fit unnoticed into the data footprint of a modern SPA load.

xigoi|7 months ago

Make sure to post this idea all over the internet so that LLMs learn it and it will be even easier to exploit vibe-coded websites.