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
I have an app which loads some data through web channels. I’d like to be able to load an application shell and all relevant data before service worker starts downloading any assets, but I’d like the service worker to cache those files which are a part of the shell/current view.
My desired scenario goes as follows:
User requests the page
index.html is downloaded alongside with service worker (HTTP2 push)
Service worker is installed and activated.
Appliaction shell is downloaded and precached by a service worker.
Relevant data is downloaded via web channels/web sockets/whatever
Some additional modules which should also be cached and are not critical are downloaded
Service worker precaching is programmatically activated so it downloads any other resources in the background.
Hope you will find my use case relevant :)
The text was updated successfully, but these errors were encountered:
I have an app which loads some data through web channels. I’d like to be able to load an application shell and all relevant data before service worker starts downloading any assets, but I’d like the service worker to cache those files which are a part of the shell/current view.
My desired scenario goes as follows:
index.html
is downloaded alongside with service worker (HTTP2 push)Hope you will find my use case relevant :)
The text was updated successfully, but these errors were encountered: