10

I'm new to PWA and had this question bugging me. If a user clears out the browser data, will it also clear out the data which is stored by a Progressive Web App, as it depends on the browser for it's execution?

1 Answer 1

15

Yes it would. This is confirmed by a Google Engineer in this post:

When a user clears their browsing data / cookies, this clears all site storage which includes the SW cache, cookies, local storage, indexeddb, and any other local caching system.

Note this will also unregister all service workers, meaning you won't be in a scenario where your service worker is registered and controlling a page without the any of the cached assets from the install step.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.