jszhuyin
jszhuyin copied to clipboard
Cache busting in service worker requests
The cache.getAll()
requests receives stuff from disk cache even with to Cmd+R. Cache busting is needed since Request.cache
is not supported yet in all browsers.
http://stackoverflow.com/a/33266296/519617 sw-precache will work too but seems to be an overkill...