let's build nginx server with caching !?

Eire Angel chrisangileri at yahoo.com
Thu Nov 29 03:58:14 MSK 2007


isn't that this 


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


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20071128/f971c70b/attachment.html>


More information about the nginx mailing list