Is it true, that if I create an image on the fly using GD, it will not be cached by the browser?
i.e <img class="cipher" src="includes/captcha.php" alt="Cipher" title="" />
I have tested this on a few browsers, and it doesn't seem to cache. But, I see many people adding a random query string to their links, or no-cache headers to the image.
What is the recommended way to stop image caching (for all browsers).
PHP: header - Manual
When using PHP to output an image, it won't be cached by the client.