3 ms·
> A few months ago I vibe-coded a prototype that would locally cache everything, and use cached versions primarily and update the cache in the background. Esse
by Swizec 1y ago
> A few months ago I vibe-coded a prototype that would locally cache everything, and use cached versions primarily and update the cache in the background.
Essentially local-first apps. Have a local database with all the info, use straight up SQL (or whatever) for your interactions, sync periodically with the mothership. Great solution for many usecases.
This was one of the original promises of mobile apps and what makes them better than websites. But the industry went a different way – many mobile and desktop apps became glorified browsers where nothing works without good internet.