Question: Which Directives responsible for 'Cach-Control' header?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi 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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux