This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Thunderbird Delete Cache on Exit/Shutdown

  • 1 reply
  • 1 has this problem
  • 126 views
  • Last reply by MemoryLeak

more options

I see that Thunderbird is not deleting the cache on exit/shutdown. I wanted to see if this is a bug, if I have misconfigured, or if it is not supported. I thought this was functioning properly in older versions but I can't cite specifics to backup that claim.

I have set privacy.clearOnShutdown.cache to true. When I shutdown, the files still remain in the cache2/entries subdirectory inside of the profile dir.

To confirm it wasn't a corrupt index file, I closed Thunderbird, deleted the entire cache2 subdir, and restarted Thunderbird. The cache2 directory architecture is rebuilt on startup but when I close Thunderbird again, the cache entries still remain.

Should this work (delete cache on exit)? Did I configure it correctly?

I am running Thunderbird v78.9.1 on Win10, both 64 bit.

I see that Thunderbird is not deleting the cache on exit/shutdown. I wanted to see if this is a bug, if I have misconfigured, or if it is not supported. I thought this was functioning properly in older versions but I can't cite specifics to backup that claim. I have set privacy.clearOnShutdown.cache to true. When I shutdown, the files still remain in the cache2/entries subdirectory inside of the profile dir. To confirm it wasn't a corrupt index file, I closed Thunderbird, deleted the entire cache2 subdir, and restarted Thunderbird. The cache2 directory architecture is rebuilt on startup but when I close Thunderbird again, the cache entries still remain. Should this work (delete cache on exit)? Did I configure it correctly? I am running Thunderbird v78.9.1 on Win10, both 64 bit.

Chosen solution

I think I answered my own question. You have to set privacy.sanitize.sanitizeOnShutdown to true also in order for privacy.clearOnShutdown.cache to work. I am seeing the desired behavior when both are set to true.

Read this answer in context 👍 0

All Replies (1)

more options

Chosen Solution

I think I answered my own question. You have to set privacy.sanitize.sanitizeOnShutdown to true also in order for privacy.clearOnShutdown.cache to work. I am seeing the desired behavior when both are set to true.