3 ms·
An alternative is to think of the browser as a distributed managed cache. Browsers have a cache API that can be used directly or in service/webworkers. A mana
by dgb23 3y ago
An alternative is to think of the browser as a distributed managed cache.
Browsers have a cache API that can be used directly or in service/webworkers.
A managed cache comes with significant upsides, such as complete control, but costs design/developer time and comes with a risk:
Caching done wrong can lead to bugs that are very hard to reason about and fix. Especially when service workers are involved.