timdream / jszhuyin

JS 注音:JavaScript 自動選字注音輸入法;"Smart" Chinese Zhuyin Input Method in JavaScript.
https://jszhuyin.timdream.org/
MIT License
225 stars 19 forks source link

Cache busting in service worker requests #38

Open timdream opened 7 years ago

timdream commented 7 years ago

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.

timdream commented 7 years ago

http://stackoverflow.com/a/33266296/519617 sw-precache will work too but seems to be an overkill...