proxy store question
is at rambler-co.ru
Wed May 14 23:43:04 MSD 2008
On Wed, May 14, 2008 at 02:45:44PM +0200, Fabio Coatti wrote:
> Hi all, I'm looking at proxy store directive, that would be really useful for
> a situation that we are facing, but I'm wandering how the store is
> invalidated: when a new page is requested to the backend instead of serving
> the cached one?
> Is possible to set a timeout, so if nginx finds that the stored page is older
> than a fixed amount of time it fetches again the page, otherwise it serves
> the one in the store, regardless of any header?
No, proxy_store is mirror on demand only. It never invalidates pages.
What you are looking is cacheing, that will be (I hope) soon ready.
More information about the nginx