How to prevent the browser caching images

Frans Knibbe frans at GEODAN.NL
Wed Oct 26 09:22:32 EDT 2005


Thanks for the tip!

I have just enabled mod_headers and added this to httpd.conf :

<Directory "C:/programs/Apache/Apache2/cgi-bin/mapserver">
    Header append Cache-Control "no-store"
</Directory>

And it seems to work. I have also learned that "pragma: no-cache" is 
deprecated.
For more information about caching http://www.mnot.net/cache_docs/ is a 
very readabel and informative document.

Regards,

Frans

thomas bonfort wrote:

>have a look at
>http://httpd.apache.org/docs/2.0/mod/mod_headers.html#header
>
>you can modify the expires header for files matching certain conditions
>
>cheers,
>tb
>
>
>  
>



More information about the mapserver-users mailing list