[Webkit-unassigned] [Bug 217722] [Webkit 14] : Caching undefined on subsequent instantiation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 16 08:36:40 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=217722

Corban <corbanbrook at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |corbanbrook at gmail.com

--- Comment #9 from Corban <corbanbrook at gmail.com> ---
Hello, thought I would add some further context to our individual setup.

We have a web based game (WebGL) and are using the ServiceWorker and Cache Storage API to cache assets, mainly the textures and sounds used in the game.

This is working great in desktop and mobile in Safari and other browsers. Also works great on iOS when added to home screen in PWA mode.

However we have an iOS native app (react-native) which adds some additional functionality but mainly serves to wrap the WebGL game loaded in a webview.

On a fresh install of this iOS app, the service worker registers and can see window.caches and correctly creates the cache, we have verified that fetched files are stored in cache as well.

Then if you shutdown the app and reopen it window.caches is no longer available.

If we uninstall the app and reinstall it will work again for the first load.

The service worker scope is at the root of the domain (ie, controls all fetch requests on all pages in our webapp). We have verified that it still processes fetch requests on subsequent loads, but of course no cache is available so always fetches from network.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201016/755e1228/attachment.htm>


More information about the webkit-unassigned mailing list