TIL about the Cache API and how you can store an almost unlimited amount of data in it for caching purposes. It eliminates the need for IndexedDB in most cases. The Cache API can be accessed without service workers.
Here's another article about it: https://web.dev/articles/cache-api-quick-guide
i was using vercel ai sdk for my production app and it was such a bad experience that I eventually went with native implementation and tbh it was not much of work thanks to cursor.
problems i faced: too many bugs (just browse their github repo to get an idea), the UI side also had suboptimal performance based on how they implemented hooks.
vercel's whole shtick is to make money off of dumb js devs who do not know better. i think they pay far too much attention on how things look compared to how things work. but hey, they made millions, possibly billions off of those js devs so who is to blame them.
reply