Closed MarcosDLR closed 2 years ago
I don't mind making some sort of script that trims the fat from the folder however, people will need to collate the list of resources that are safe to delete.
Most of the space is taken by the Default
folder which itself is mostly Cache
.
The cache includes things like the loading animation and the js/css/html resources for WA WEB which are served via the service worker. The service worker is bypassed anyways so the cache can theoretically be cleared.
This line forces the cache to stay enabled (default).
Will test by removing this
Thank you very much.
@MarcosDLR MD sessions reauthenticate just fine without forcing the cache to be enabled.
I will remove the if statement in the above mentioned line. This should disable the cache. Not sure if this will prevent the storage increase over time but lets try.
@github-actions run
Hello again, sorry for the inconvenience.
With the latest update the cache is resolved but the \Default\IndexedDB\https_web.whatsapp.com_0.indexeddb.leveldb folder grows exponentially. This creates .ldb and .log files.
@MarcosDLR can you delete the folder, re scan and track the growth over time with exact numbers please.
After 10 minutes the file grew 1,449 kb, this was with 90 messages received, but the file grows even without sending or receiving messages. The file grows depending on the type of message.
After several days this becomes a considerable consumption of space depending on the flow of messages.
Hello.
I know this is not a bug, I would just like information regarding the following:
When I connect the phone number a folder with the name of the session is created, this folder grows as time goes by and disk space is affected. Is there any way to prevent this ?