Barrett Nash
 · https://infiniteup.dev/infiniteup-your-premier-partner-in-app-development/

Ways to reset user cache on PWA?

Hey all,

At my company InfiniteUp, as well as with my FF friends, we are always testing our apps in private browser since updates upon publish often work wonky based on the users cache. You don't know what will be cached, and what won't.

This is an issue with PWA focused apps. We do a new version and new release, but then the app can crash or act unexpected for the user, since it grabs caches information.

Anyone have any thoughts? I was thinking there might be a function that when a new version is released it could clear the users cache somehow, but I'm curious if anyone has a bright idea... or if I'm even diagnosing the issue correctly.

Thanks!

Barrett Nash

2
6 replies