Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

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.

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.