Feature #885
closedConsider deleting the service worker directory after every page loads
0%
Description
Currently this is only done in Incognito Mode, but it might be a good idea to always do it if it doesn't cause significant problems with websites.
Updated by Soren Stoutner over 2 years ago
It looks like recent versions of WebView have moved the Service Worker directory to `/data/data/com.stoutner.privacybrowser.standard/app_webview/Default/Service Worker`, so the old command that was deleting the service worker directory every time a page finished loading in Incognito Mode wasn't working.
Updated by Soren Stoutner over 2 years ago
Testing indicates that the files are not deleted if they are in use. So, for example. loading forum.f-droid.org populates files inside of Service Worker and they are not deleted as long as the user is at that site. However, the next site that finishes loading after leaving forum.f-droid.org deletes the Service Worker directory.
Updated by Soren Stoutner over 2 years ago
- Status changed from New to Closed
After testing this for a while I have encountered no problems.
Implemented in commit https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=89d388e324a3b9f719c70e590cfbaf866f727092.
Updated by Soren Stoutner 11 months ago
What was your testing methodology to determine that there was a problem?