I have an HTML signature with a web-based image. The image changes about once a month, but Thunderbird keeps using an old image. I believe it's being cached somewhere.
Any ideas on how to ensure the image is dynamically fetched every time?
On the server side:
Add an adequate Cache-Control header in the server's response for the image. E.g.
Cache-Control: max-age=0 - On Apache this could be achieved through a .htaccess file using the Header directive. Please add details about the used web server to your question if you need further information on how to configure this.
On the client side:
Set browser.cache.check_doc_frequency to 1 in Tools –> Options –> Advanced –> General -> Config Editor...
Either way will work to prevent Thunderbird from using the image without checking the cache freshness, but you probably want to use the server side way to make sure your recipients see your signature correctly.
You can manually purge Thunderbird's image cache by deleting the TB cache directory:
Cachein your profile
How about generating a new filename each time, and dynamically updating your sig file as well? More work than just replacing the image, but less work possibly than changing the server header response.
Thunderbird now ships with the option to clear the cache. Go to Tools -> Clear recent history…