Memory or cache Problem - App slower and slower

Hi guys,

It seems that I got some issues with my application. I have a big application, with videos inside, images to load, service workers, uploading stuff, etc… Something that looks like youtube.

When I install the app, everything working correctly, more I used the app, slower the app became.

It becomes slower and slower, some things stop to load, until it crash the page and reload the page. Then it continues to happen more and more.

If I uninstall the app, and reinstall it, then it’s working great again until it starts to be slower and slower.

On my app, right now, I’m not saving anything in filesystem, I’m only using Pinia from VUE3 and storing everything in LocalStorage, but when I look inside localstorage, there is not so much things inside, so it’s not getting bigger and bigger.

Do you know if there is a way to reload the app, clear cache or monitor something like this ?

Thanks in advance for your help.

Any one ? Or is it too wide ?

Have you tried debugging on an actual device using the browser dev tools? If localStorage isn’t the issue, I would check the network traffic and also look for console errors as a start.