proxy_cache_use_stale, updating question
mdounin at mdounin.ru
Tue Oct 27 16:43:41 MSK 2009
On Tue, Oct 27, 2009 at 02:30:24PM +0100, Tomasz Pajor wrote:
> >>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?
> Wouldn't it be better to send only one request, and tell other to
> wait for the page when updating is set?
Yes. This is called "busy locks" in mod_accel, and usually
referenced here under the same name. It's planned but not
implemented in nginx yet.
More information about the nginx