News for hackers. Stuff that matters.
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.
Re:Skip the API, Ship Your Database by EMM_386 on Thursday September 14, 2023 @09:55AM (#37509076)
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).