nginx-0.5.36

Igor Sysoev is at rambler-co.ru
Mon May 5 12:29:46 MSD 2008


On Mon, May 05, 2008 at 01:11:54AM -0700, mike wrote:

> On 5/4/08, Igor Sysoev <is at rambler-co.ru> wrote:
> 
> > > Is that more or less like this?
> > > http://hostingfu.com/article/nginx-and-mirror-demand
> >
> > No, cache takes into account expire time to refresh responses and
> > inactivity time to delete responses from cache.
> 
> So basically that URL, with an LRU cache mechanism and expiry support?

No, requests are not directly mapped to filesystem. Instead md5 is taken
from the proxied URL and this hash is used to find response in cache.
Besides, the cached response has full header: for example, 404 response
may be cached. Also the response may be cached only if it was requested
no less than, e.g., 2 times for some time.


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





More information about the nginx mailing list