Re:Skip the API, Ship Your Database
by whalesalad on Wednesday September 13, 2023 @08:27PM
(#37503404)
A lot of SPA’s already operate this by leveraging things like localstorage in the users browser.
[ Parent
| on HN ]
To do what? Isn't this limited to 5 MB?
I just checked a heavy user for our enterprise SPA. localStorage is using ~12 KB.
I don't know what people are just throwing in localStorage but they certainly aren't pulling down much of the database (which still would have to be checked to ensure cached data in there isn't stale).