-
Notifications
You must be signed in to change notification settings - Fork 831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to monitor caching progress #649
Comments
@kaycebasques when you "progress" in caching resources? What sort of "progress" did you have in mind? |
Say I'm downloading an entire site over a flaky cell network. I want to know when every resource has been cached. I suppose the service worker could loop through the assets manifest array and check the status of each item? |
Well your service worker wont be active until all the assets have been downloaded, so what is the use case for knowing when it's downloaded? |
So the active event is equivalent to what I'm looking for? Works for me |
Library Affected:
workbox-sw
Browser & Platform:
All
Issue or Feature Request Description:
Is there a way to keep track of workbox's progress in caching resources?
The text was updated successfully, but these errors were encountered: