nginx-0.6.4

Igor Sysoev is at rambler-co.ru
Tue Jul 17 14:44:24 MSD 2007


On Tue, Jul 17, 2007 at 12:32:08PM +0200, Janko Hauser wrote:

> Am 17.07.2007 um 12:11 schrieb Igor Sysoev:
> 
> >Changes with nginx 0.6.4                                         17  
> >Jul 2007
> >
> >    *) Security: the "msie_refresh" directive allowed XSS.
> >
> >    *) Change: the "proxy_store" and "fastcgi_store" directives were
> >       changed.
> >
> >    *) Feature: the "proxy_store_access" and "fastcgi_store_access"
> >       directives.
> 
> First let me say many thanks for this great software. I think I'm not  
> alone, if I say, that nginx is the second most valuable component in  
> our setup besides the application server itself in use (Zope in our  
> case).
> 
> After the great value of the memcache-module I'm quite eager to learn  
> more about the caching possibilities introduced in this new release.  
> Is there some more information how to use these new directives and  
> what the general idea or concept stands behind them?

proxy_store is not cache, it's rather mirror on demand:

location /images/ {
    root                 /data/www;
    error_page           404 = /fetch$uri;
}

location /fetch {
    internal;

    proxy_pass           http://backend;
    proxy_store          on;
    proxy_store_access   user:rw  group:rw  all:r;
    proxy_temp_path      /data/temp;

    alias                /data/www;
}

if file is not found, then it will be fetched from backend and stored
in 'root/alias' or in path specified explicitly:

proxy_store   /data/www$original_uri;


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





More information about the nginx mailing list