Apache ( @David Dorvard, - . <Files), PHP () :
<?php
header('Cache-Control: no-cache');
header('Expires: 0');
header('Content-Type: image/jpeg');
readfile('/some/path/to/yourfile.jpg');
?>
, ; , - (IIRC IE6 , , , ).
Please note that this simplified approach 1) will increase the load on the server, since it needs to run PHP to request an image and 2) disable partial loading on script / image
source
share