Re: [users@httpd] caching

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

 



> On 9/6/06, carlesg@xxxxxxxxxxxxxxxxxxx <carlesg@xxxxxxxxxxxxxxxxxxx>
> wrote:
>> I'm usig apache disk_cache for images in front of a plone site
>>
>>     CacheEnable disk /
>>     CacheRoot "/data/cache/mod_proxy/zeo"
>>     CacheSize 950000
>>     ExpiresActive On
>>     ExpiresByType image/gif A9600
>>     ExpiresByType image/jpeg A9600
>>     ExpiresByType image/png A9600
>>
>> After a few hous of clearing the cache some pages get cached in apache
>>
>>  HTTP/1.1 200 OK
>>   Date: Wed, 06 Sep 2006 19:11:14 GMT
>>   Server: Apache/2.0.59 (Unix)
>>   Set-Cookie: zforum_language="es_MX"; Path=/
>>   Content-Type: text/html;charset=iso-8859-1
>>   Last-Modified: Wed, 06 Sep 2006 17:44:11 GMT
>>   Content-Length: 32609
>>   Content-Language: es
>>   Expires: Sat, 1 Jan 2000 00:00:00 GMT
>>   Pragma: no-cache
>>   Age: 5224
>>   Keep-Alive: timeout=30, max=500
>>   Connection: Keep-Alive
>>
>> Why Is apache caching a text/html if this content type is not defined as
>> ExpiresByType?
>
> The cache can also key off the Last-Modified date to determine
> freshness.  See the directive CachLastModifiedFactor.  That doesn't,
> of course, explain why it would be caching explicitly expired content.
>
> I suggest moving to 2.2, where mod_cache* is no longer experimental.
> Much improvement has been made between 2.0 and 2.2.
>
> Joshua.


We've just migrated from 2.0.54 to 2.0.59 but it's true that it still has
many bugs with cache.
I'll try to migrate to 2.2

thanks

Carles


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