let's build nginx server with caching !?

Igor Sysoev is at rambler-co.ru
Thu Nov 29 09:31:44 MSK 2007


On Wed, Nov 28, 2007 at 04:58:14PM -0800, Eire Angel wrote:

> isn't that this 
> 
> 
> # serve static files directly
> location ~* ^.+.(jpg|jpeg|gif|png)$ {
>     root              /your/public/folder;
>     access_log        on;
>     expires           30d;
> }

No.

> Almir Karic <redduck666 at gmail.com> wrote: On Nov 28, 2007 7:30 PM, Aleksandar Lazic  wrote:
> > Squid is a forwarding proxy
> > nginx is a webserver, with possibility to forward requests to
> > proxy-backends
> >
> > You now want to use the nginx 'framework' to build a forwarding proxy as
> > a separate module like http and mail, is this right?
> >
> 
> i think he wants nginx to cache certain things (ie images), so nginx
> would't forward the request to proxy backend but serve the local copy
> (and save bandwidth).
> 
> 
> 
> -- 
> almir
> 
> 
> 
>        
> ---------------------------------
> Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.

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





More information about the nginx mailing list