You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.
The v3 of the tool doesn't seem to work properly on iOS. The cache load throws an exception and ends up always performing a network fetch. This breaks the ability to have an offline app.
Note: Using a simple service worker (one that doesn't do the redirect clean up/etc) does work properly.
Edit: It looks like setting the cache name to a shorter simple string seems to fix it as well.
var precacheConfig = <%= precacheConfig %>;
var cacheName = 'simple';
The text was updated successfully, but these errors were encountered:
Looks like I have a similar issue, but @crb04c fix is working only temporary for me, i.e. on iPhone 8 plus (iOS 12) after hour app cannot be loaded in offline mode again, but on a second device, it's working for a long time. Maybe changing the name just updates data in cache and safari is removing some them again after some time, I don't know, just wild guess.
The v3 of the tool doesn't seem to work properly on iOS. The cache load throws an exception and ends up always performing a network fetch. This breaks the ability to have an offline app.
Note: Using a simple service worker (one that doesn't do the redirect clean up/etc) does work properly.
Edit: It looks like setting the cache name to a shorter simple string seems to fix it as well.
var precacheConfig = <%= precacheConfig %>;
var cacheName = 'simple';
The text was updated successfully, but these errors were encountered: