Hello -- I'm running into a little trouble with mod_proxy and mod_cache; thought someone here might be able to help. I've set up one of our virtual servers to proxy requests to Eurekster, one of our third parties, and cache them. The proxying happens just fine, and the caching happens just fine (see error log snippets below), but subsequent requests don't get served out of the cache -- Apache is making a request to Eurekster every single time. I checked out our request headers: HTTP/1.1 Host: qa.wankelrotaryengine.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: CP=null* Cache-Control: max-age=0 Straight up: I don't know a whole lot about caching. But that last one, Cache-Control with a max-age of 0 -- I'm guessing that header that's the culprit, and is essentially what's causing a new request every time. 1. Am I right? Or at least on the right track? 2. How to I get Apache to make requests without this header, or with a greater max-age? The docs imply that mod_expire might be the ticket, so I tried playing with that but I couldn't get it to work (it could be me, I know). Can anyone help? Thanks in advance! Logs and conf are below. best, Elizabeth Logs: [Thu Mar 23 11:55:55 2006] [debug] mod_cache.c(129): Adding CACHE_SAVE filter for /eurekster/sidebar [Thu Mar 23 11:55:55 2006] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL filter for /eurekster/sidebar [Thu Mar 23 11:55:55 2006] [debug] mod_proxy_http.c(54): proxy: HTTP: canonicalising URL //wankelrotaryengine.eurekster.com/sidebar [Thu Mar 23 11:55:55 2006] [debug] proxy_util.c(1373): [client 10.40.0.1] proxy: http: found worker http://wankelrotaryengine.eurekster.com/ for http://wankelrotaryengine.eurekster.com/sidebar?seckey=wankelrotaryengine123456&groupkey=blah [Thu Mar 23 11:55:55 2006] [debug] mod_proxy.c(736): Running scheme http handler (attempt 0) [Thu Mar 23 11:55:55 2006] [debug] mod_proxy_http.c(1661): proxy: HTTP: serving URL http://wankelrotaryengine.eurekster.com/sidebar?seckey=wankelrotaryengine123456&groupkey=blah [Thu Mar 23 11:55:55 2006] [debug] proxy_util.c(1754): proxy: HTTP: has acquired connection for (wankelrotaryengine.eurekster.com) [Thu Mar 23 11:55:55 2006] [debug] proxy_util.c(1811): proxy: connecting http://wankelrotaryengine.eurekster.com/sidebar?seckey=wankelrotaryengine123456&groupkey=blah to wankelrotaryengine.eurekster.com:80 [Thu Mar 23 11:55:55 2006] [debug] proxy_util.c(1911): proxy: connected /sidebar?seckey=wankelrotaryengine123456&groupkey=blah to wankelrotaryengine.eurekster.com:80 [Thu Mar 23 11:55:55 2006] [debug] proxy_util.c(2005): proxy: HTTP: fam 2 socket created to connect to wankelrotaryengine.eurekster.com [Thu Mar 23 11:55:55 2006] [debug] proxy_util.c(2101): proxy: HTTP: connection complete to 66.70.119.205:80 (wankelrotaryengine.eurekster.com) [Thu Mar 23 11:55:55 2006] [debug] mod_proxy_http.c(1443): proxy: start body send [Thu Mar 23 11:55:55 2006] [debug] mod_deflate.c(447): [client 10.40.0.1] Zlib: Compressed 336 to 198 : URL /eurekster/sidebar [Thu Mar 23 11:55:55 2006] [debug] mod_headers.c(612): headers: ap_headers_output_filter() [Thu Mar 23 11:55:55 2006] [debug] mod_cache.c(602): cache: Caching url: /eurekster/sidebar?seckey=wankelrotaryengine123456&groupkey=blah [Thu Mar 23 11:55:55 2006] [debug] mod_cache.c(608): cache: Removing CACHE_REMOVE_URL filter. [Thu Mar 23 11:55:55 2006] [debug] mod_disk_cache.c(954): disk_cache: Stored headers for URL http://_default_:80/eurekster/sidebar?seckey=wankelrotaryengine123456&groupkey=blah [Thu Mar 23 11:55:55 2006] [debug] mod_disk_cache.c(1035): disk_cache: Body for URL http://_default_:80/eurekster/sidebar?seckey=wankelrotaryengine123456&groupkey=blah cached. [Thu Mar 23 11:55:55 2006] [debug] mod_proxy_http.c(1530): proxy: end body send [Thu Mar 23 11:55:55 2006] [debug] proxy_util.c(1769): proxy: HTTP: has released connection for (wankelrotaryengine.eurekster.com) Conf: <VirtualHost *:80> ServerName qa.wankelrotaryengine.com <IfModule mod_proxy.c> ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /eurekster/ http://wankelrotaryengine.eurekster.com/ ProxyPassReverse /eurekster/ http://wankelrotaryengine.eurekster.com/ ExpiresDefault "access plus 900 seconds" ExpiresActive Off CacheRoot /cache/WRE CacheEnable disk /eurekster/sidebar CacheDefaultExpire 900 CacheMaxExpire 900 CacheIgnoreCacheControl On CacheIgnoreNoLastMod On CacheStoreNoStore On CacheStorePrivate On </IfModule> Options None </VirtualHost> --------------------------------------------------------------------- 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