Question: Which Directives responsible for "Cach-Control" header?
am 07.04.2008 00:07:14 von Neil SimonsHi all,
I have a Fedora Core5 linux box running apache 2.2.2
When serving static files of certain extentions including .mp3,
'Cache-Control' headers are included in the response, as well as 'ETag'
headers etc.
My question is simply this: How can I stop the 'Cache-Control' headers
being
generated? ( i need to prevent browser caching )
I did try (with mod_headers enabled) 'Header unset Content-Type' within the
directory's .htaccess file - It didnt work, although i could set extra
headers just fine.
I can successfully stop the generation of ETag headers using 'FileETag
None' (set within said .haccess file), but cannot find any documentaion on
the control of the
'Cache-Control' header.
At this point, the following modules are disabled ( to try and minimise
scope of problem );
mod_mime_magic
mod_headers
mod_expires
mod_proxy
mod_proxy_*
mod_cache
mod_disk_cache
mod_file_cache
mod_mem_cache
I have also commented out the entry for audio/mpeg within the mime.types
config file, to try and remove any context apache might have on the meaning
of a .mp3 file.
Despite all my research and efforts, the header 'Cache-Control:
max-age=86400' is always sent, and my browser caches..
Regards,
Neil Simons
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org