Constructor for BaseCacheManager
cleanup() returns Promise
Compare the URL's and determines which assets are no longer required in the cache.
This should be called in the service worker activate event.
PromisePromise that resolves once the cache entries have been cleaned.
getCachedUrls() returns Array of String
Returns an array of fully qualified URL's that will be cached by this cache manager.
Array of StringAn array of URLs that will be cached.
getCacheName() returns String
Gives access to the cache name used by this caching manager.
StringThe cache name used by this manager.
install() returns Promise containing Array of Object
This method will go through each asset added to the cache list and fetch and update the cache for assets which have a new revision hash.
Promise containing Array of ObjectThe promise resolves when all the desired assets are cached and up -to-date.