atom feed10 messages in ru.sysoev.nginxRe: proxy_cache
FromSent OnAttachments
Richard KearsleyApr 24, 2011 7:58 am 
Ryan MalayterApr 24, 2011 7:11 pm 
Richard KearsleyApr 24, 2011 7:21 pm 
Maxim DouninApr 25, 2011 11:55 am 
Ryan MalayterApr 25, 2011 11:58 am 
Richard KearsleyApr 25, 2011 1:12 pm 
Ryan MalayterApr 26, 2011 7:23 am 
Richard KearsleyApr 26, 2011 7:27 am 
António P. P. AlmeidaApr 26, 2011 8:19 am 
Richard KearsleyApr 29, 2011 6:02 am 
Subject:Re: proxy_cache
From:Maxim Dounin (mdou@mdounin.ru)
Date:Apr 25, 2011 11:55:40 am
List:ru.sysoev.nginx

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.

-----Original Message----- From: Ryan Malayter [mailto:mala@gmail.com] Sent: 25 April 2011 03:12 To: ngi@nginx.org Subject: Re: proxy_cache

On Sunday, April 24, 2011, Richard Kearsley <Rich@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