httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diana Horvitz <>
Subject RE: [users@httpd] "Expires" and "Cache-Control" don't work proper ly
Date Tue, 10 May 2005 12:38:59 GMT
Hi Axel,

You were right, apparently Apache does not add the headers defined in
httpd.conf to pages built on the fly.

We finally made the application set the appropriate headers and everything

Thanks for your help,


-----Original Message-----
From: Axel-St├ęphane SMORGRAV [] 
Sent: Monday, May 09, 2005 10:51 AM
Subject: RE: [users@httpd] "Expires" and "Cache-Control" don't work properly

I believe that the behaviour you observe may be due to the order in which
mod_header and mod_cache process the response. My guess is that mod_headers
intervenes on the response after mod_cache. At the time the responses are
processed by mod_cache, the "Expires" and "Cache-Control" headers have not
yet been inserted.
If the pages are generated "on the fly", why don't you have the application
set the apropriate headers??

This message has been scanned for viruses and
dangerous content by Ex Libris Ltd, and is
believed to be clean.

View raw message