Forum Moderators: phranque

Message Too Old, No Replies

What is setting Cache-Control and Pragma

Header settings

         

dmwaff

3:17 pm on Dec 2, 2009 (gmt 0)

10+ Year Member



I don't know what may be setting these Response Headers because I am not doing it in Apache via mod_headers.

Cache-Control: no-cache
Pragma: no-cache

The requested URL is for [.....] HTTP/1.1 file (Content-Type: application/x-shockwave-flash) but the two headers are being set to no-cache in the HTTP Response and I not doing it with the Header directive.

I don't have a reverse proxy in front of my HTTP Server serving the content, but the URL is public internet. I am checking to see if the client is going through a company forward proxy to reach the internet. That question is pending.

Ideas.

David

jdMorgan

3:22 pm on Dec 2, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you serve these media files directly, or is some script involved -- perhaps as part of a CMS, or for access control? Scripts can and do set HTTP response headers, as well as the server config settings you've already looked into.

Jim

dmwaff

3:42 pm on Dec 2, 2009 (gmt 0)

10+ Year Member



Thanks for the lead... Figured it out. The Access/Policy server providing authentication defaults to the most secure settings and I need to set this to something like "public" to let the browser cache for this new media HTTP Server It is messing up bit streaming by instructing the client to not cache.

It is being set by our webgate/webagent plugin and access policy.

Thanks as always JD!