proxy_cache

Maxim Dounin mdounin at mdounin.ru
Mon Apr 25 22:56:18 MSD 2011


Hello!

On Mon, Apr 25, 2011 at 02:22:23AM +0000, Richard Kearsley wrote:

> Thanks, I already set "proxy_cache_use_stale updating"
> But what if the file is completely new..? there is no stale file to serve

Currently, there is no good way to handle this.  Solution is 
usually called "busy locks" (search list archives for details), 
but it's not ready yet.

Maxim Dounin

> 
> 
> -----Original Message-----
> From: Ryan Malayter [mailto:malayter at gmail.com] 
> Sent: 25 April 2011 03:12
> To: nginx at nginx.org
> Subject: Re: proxy_cache
> 
> On Sunday, April 24, 2011, Richard Kearsley <Richard.Kearsley at m247.com> wrote:
> > Is there a way to know if a file has been cached/is currently being downloaded to cache without requesting the file?
> > I.e. can I query the cache table somehow?
> > I am trying to stop new files being written multiple times
> 
> proxy_cache_use_stale updating;
> http://wiki.nginx.org/HttpProxyModule#proxy_cache_use_stale
> 
> 
> 
> -- 
> RPM
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list