[users@httpd] Few questions about mod_expires and not caching.

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

 



2.0.55

First, is there any recommended configuration for mod_expires?  That
is, do most people use ExpiresDefault, or do most list out all the
MIME types they want to set expires headers on?

I have a front end server that handles static content, and it also is
a reverse proxy for a mod_perl server.  The mod_perl server can (and
often does) return documents with cache control headers set.

I kind of expected mod_expires to only set the headers if not already
set.  I have mod_perl returning a document with the following headers:

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache

With mod_expires enabled I get:

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, max-age=600
Pragma: no-cache
Expires: Fri, 26 May 2006 04:37:05 GMT

So mod_expires won't detect no-cache headers?

I can limit where I enable mod_expires, but was curious about this
behavior.

Thanks,





-- 
Bill Moseley
moseley@xxxxxxxx


---------------------------------------------------------------------
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