October 2017
Intermediate to advanced
302 pages
7h 27m
English
The mechanism we will use for caching is the Web Cache API.
The API specification has a few quirks we need to talk about. First, you can store multiple cache objects in the cache. In this way, we're able to store multiple versions of our cache, named whatever string we like.
That said, the browser has a limit of how much data it can store from any one site. If the cache gets too full, it may simply delete all data from that origin, so our best bet is to store the bare minimum.
However, there's an additional difficulty. Items in the cache ...
Read now
Unlock full access