Skip to content

Comment on What Happens When You Put a Database in the Browser?parent

Comments

I'd prefer that to page reloads, lost focus, scroll position and any input between clicking on a checkbox and receiving a response. Bonus points if I only have to download a db-diff next time, compared to downloading 5x db worth through POST /get-products?<filters>&page=<n> in every e-shopping session. Rarely a client-facing business database exceeds your average youtube cat video in size (assuming pics stored as urls).

What year was this comment written ?

Most web apps these days are single page applications which don't require page reloads for every UI interaction.

True. Only the fast ones do full page reloads now.

Sadly the current one. Most web apps that have a backend database do all of the aforementioned. See e.g. https://amazon.com

Also,

https://www.ebay.com/b/Digital-Cameras/31388/bn_779 -- try choosing a brand

https://www.bestbuy.com/site/video-games/video-games-accesso... -- only loses scroll, probably a winner

https://www.newegg.com/p/pl?N=50001157%20100007671%206013930... -- uses "Apply" button, out of competition, but still better

https://www.levi.com/US/en_US/sale/mens-sale/c/levi_clothing... -- a winner of the "wtf is going on after I click my size" category

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.