The uncoolness of CacheStorage
I mean this CacheStorage, a browser API for saving HTTP-like Response objects indexed by HTTP-like Request objects. The thing commonly used from a Service Worker.
Three: The class that you end up using, Cache, has a name so generic that it’s ungoogleable.
Two: You can’t put a pending response into a Cache, so you have to do your own coordination to prevent a cache stampede.
One: IMO it’s not a cache at all. From all I’ve read about it, data stored in a Cache is treated as preciously as IndexedDB. The browser will not help you clean out unused entries. It’s just storage.
P. S., markdown auto numbering, you’re killing me
My last post was about either Ubuntu flavors installer sizes or People who turn doorknobs away from the door hinge. Find out which.