You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ABAPGUY <ab...@yahoo.com> on 2006/11/02 23:29:41 UTC
[users@httpd] How does mod_expires handle proxied Cache-control content ?
Hi all ,
I have an Apache 2.0 Reverse Proxy . One of my downstream servers is an IIS server with Expires Header set to 12 hours for content . I have Apache configured with mod_expires as so (3600 seconds = 1 hour)
ExpiresActive On
ExpiresByType image/gif A3600
ExpiresByType image/png A3600
ExpiresByType image/jpeg A3600
ExpiresByType text/css A3600
ExpiresByType text/javascript A3600
ExpiresByType application/x-javascript A3600
ExpiresByType text/html A3600
ExpiresByType text/xml A3600
How does Apache deal with the proxied IIS content ? Does it leave the Cache-control : max age = 12hours ..or does it
overwrite it with 1 hour ?
Regards
Daniel
Re: [users@httpd] How does mod_expires handle proxied Cache-control content ?
Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 02.11.06 14:29, ABAPGUY wrote:
> I have an Apache 2.0 Reverse Proxy . One of my downstream servers is an
> IIS server with Expires Header set to 12 hours for content . I have Apache
> configured with mod_expires as so (3600 seconds = 1 hour)
>
> ExpiresActive On
> ExpiresByType image/gif A3600
> ExpiresByType image/png A3600
> ExpiresByType image/jpeg A3600
> ExpiresByType text/css A3600
> ExpiresByType text/javascript A3600
> ExpiresByType application/x-javascript A3600
> ExpiresByType text/html A3600
> ExpiresByType text/xml A3600
>
> How does Apache deal with the proxied IIS content ? Does it leave the
> Cache-control : max age = 12hours ..or does it overwrite it with 1 hour ?
http://httpd.apache.org/docs/2.0/mod/mod_expires.html
according to this, mod_expires only affects setting headers when sending
local documents, it has nothing to do with proxy.
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
99 percent of lawyers give the rest a bad name.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org