Turn off Web Server File Caching | Islandnet Blog
For support call:     778-410-2454

Turn off Web Server File Caching

In a .htaccess file add the following and add the file types into the FilesMatch line seperating with a | for all files you dont want the server to cache.


<FilesMatch "\.(html|htm|js|css)$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</ifModule>
</FilesMatch>

source: http://www.askapache.com/htaccess/using-http-headers-with-htaccess.html