Re: mod_cache not caching /

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxx
> >    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >
>
> ---------------------------------------------------------------------
> 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
>

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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux