proxy_cache_use_stale, updating question

Igor Sysoev is at rambler-co.ru
Tue Oct 27 16:40:57 MSK 2009


On Tue, Oct 27, 2009 at 02:30:24PM +0100, Tomasz Pajor wrote:

> 
> >> Hello,
> >>
> >> If I understand the code correctly, when I don't have the cache file, 
> >> request is going directly
> >> to upstream, so when I have 100 request at the time when I don't have 
> >> the cache file yet, all
> >> those requests will go to upstream servers, am I correct?
> >>     
> > Yes.
> Wouldn't it be better to send only one request, and tell other to wait 
> for the page when updating is set?

Yes, of course, it would be better, however, currently it is not implemented.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list