On 16 December 2013 10:47, Larry <nginx-forum@nginx.us> wrote
> Did i understand something wrong ?
Yes.
Proxy cache is for storing the response of an upstream HTTP server
whose requests you're proxying, so that you don't have to ask the
potentially slow(er) upstream server the next time an identical
request comes in.
Serving static files from local disk is, well, for on-disk local assets.
They're different concepts. Don't confuse them. Just recognise
whichever one you're doing, and use the appropriate technique.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx