Since December Gmail is caching all images.
Now dynamic images e.g. countdowns won't work properly. Once the image is cached the timer will show the time as the image was cached by google and won't update itself.
I've found a fix (and for those who want to help a further explanation): http://blog.movableink.com/real-time-content-and-re-open-tracking-return-to-gmail/
Now my problem: What do I have to do?
I tried adding "no-cache" and "max-age=0" to my header but Gmail is still caching it.
Here is my full header
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate, max-age=0' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );
I've also tried using only "no-cache" and "max-age" and other combinations as well, nothing seems to work.
Any suggestions?