httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Lehner <mleh...@smx.pair.com>
Subject Re: [users@httpd] mod_cache not caching /
Date Wed, 30 May 2007 23:30:15 GMT
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:
>
> <VirtualHost 10.10.10.10>
> 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
> </VirtualHost>
>
> 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 <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
> >
>
> ---------------------------------------------------------------------
> 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
>

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


Mime
View raw message