How to set the minimum size of the cache file

Yahwist Yang lists at ruby-forum.com
Tue Apr 13 13:18:28 MSD 2010


Igor Sysoev wrote:
> On Wed, Sep 16, 2009 at 01:07:05PM +0800, Chancey wrote:
> 
>> How to set the minimum size of the cache file ?
> 
> Currently there is no way.
> Could you tell why do you want to set this limit ?

Hi Igor,
I have the same question.
nginx is my reverse proxy cache servers, web page nginx cached was 
generated by backend php program, sometime when php fetch data from db 
server failed, it will generate the wrong page.
the wrong page's size always much smaller than the right page. if I can 
set the minimum size of the cache file, nginx will not cache the wrong 
page.

thaks a lot.



                     yangchunyu
-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list