jampy
jampy
I see, but for the sake of complecity: I **had** something like this in my index HTML: ```html var ASSET_BUNDLES={"main":"main-bundle-c706cd4dca14133426b3208a452387-en.js","db-engine-worker":"db-engine-worker-bundle-c706cd4dca14133426b3208a452387-en.js","pdfjs-worker":"pdfjs-worker-bundle-c706cd4dca14133426b3208a452387-en.js"}; ``` The `ASSET_BUNDLES` is important because the name of the...
Of course, there would be no problem at all if `ASSET_BUNDLES` could be contained in `main-bundle-xxx.js` itself. But it's an asset automatically generated by a Webpack plugin and merging it...
> generating hash of received content which is kinda slow FYI, I use client-side hashing a lot with megabyte-sized data and it's quite fast even on mobile. Also, [most browsers](http://caniuse.com/#feat=cryptography)...
If your're interested, for a fast pure-JavaScript SHA1 implementation see [rusha](https://www.npmjs.com/package/rusha) I'm focused on SHA-1 because I need strong hashes. MD5 or similar would probably be probably good enough for...
@NekR great! I hope you find some time very soon, as this is causing some trouble right now...
@NekR It's [unlikely that we'll see SW on Safari soon](https://webkit.org/status/#specification-service-workers), unfortunately. :-( Also note that Service Workers are still [unsupported on IE/Edge](https://jakearchibald.github.io/isserviceworkerready/), too.
If anyone is interested, I've published a patched version of this module (based on v4.8.1 plus the changes discussed here) - simply because this discussion is taking too long for...
IMHO that 5000 ms timeout effectively prevents *any* Application Cache events after 5000ms. So, if the application takes longer than 5 seconds to download, no `UpdateReady` is ever fired. -...
@enzoaeneas: do you have a chance to test #248?
@NekR: completely missed this since I was waiting for a reply in the PR. Anyway, could you please explain what this stuff means? Thanks.