Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 27158 invoked from network); 30 May 2007 23:30:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 May 2007 23:30:47 -0000 Received: (qmail 33139 invoked by uid 500); 30 May 2007 23:30:41 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 33115 invoked by uid 500); 30 May 2007 23:30:41 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 33104 invoked by uid 99); 30 May 2007 23:30:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2007 16:30:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mlehner@smx.pair.com designates 209.68.1.56 as permitted sender) Received: from [209.68.1.56] (HELO smx.pair.com) (209.68.1.56) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 May 2007 16:30:36 -0700 Received: (qmail 19322 invoked by uid 1039); 30 May 2007 23:30:15 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 30 May 2007 23:30:15 -0000 Date: Wed, 30 May 2007 19:30:15 -0400 (EDT) From: Matt Lehner To: users@httpd.apache.org In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] mod_cache not caching / Sorry, here's the http headers: HTTP/1.1 200 OK Date: Wed, 30 May 2007 23:28:01 GMT Server: Apache/2.2.4 Last-Modified: Wed, 16 May 2007 20:21:33 GMT ETag: "134003-2702-189fcd40" Accept-Ranges: bytes Content-Length: 9986 Cache-Control: max-age=300 Expires: Wed, 30 May 2007 23:33:01 GMT Content-Type: text/html Thanks for any assistance. Matt. On Wed, 30 May 2007, Matt Lehner wrote: > Here's the log for no index in the URL: > > [Tue May 15 15:53:41 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE > filter for / > [Tue May 15 15:53:41 2007] [debug] mod_cache.c(136): Adding > CACHE_REMOVE_URL filter for / > > That will just keep repeating, nothing ever shows up as being served. > > > And with: > > [Tue May 15 17:39:44 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE > filter for /index.html > [Tue May 15 17:39:44 2007] [debug] mod_cache.c(136): Adding > CACHE_REMOVE_URL filter for /index.html > [Tue May 15 17:39:51 2007] [debug] mod_cache.c(277): cache: serving > /index.html > [Tue May 15 17:40:02 2007] [debug] mod_disk_cache.c(477): disk_cache: > Recalled cached URL info header http://example.com:80/index.html > > Here's the VirtualHost entry I was testing with: > > > ServerAdmin webmaster@example.com > DocumentRoot /usr/www > ServerName example.com > CacheRoot /usr/nobody/cache > CacheEnable disk / > CacheDirLevels 3 > CacheDirLength 2 > CacheDefaultExpire 3600 > CacheIgnoreCacheControl On > CacheIgnoreHeaders Set-Cookie > CacheMaxExpire 86400 > CacheMinFileSize 1 > CacheMaxFileSize 1024000 > > > Let me know if I need to provide any other info. > > Matt > > > On Wed, 30 May 2007, Joshua Slive wrote: > > > Show us the HTTP response headers and the ErrorLog output at LogLevel > > debug for the case where it caches and the case where it doesn't. > > > > Joshua. > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the Apache HTTP Server Project. > > See 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 > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See 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 > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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