Welcome! Log In Create A New Profile

Advanced

Re: Proxy_cache or direct static files ?

Jonathan Matthews
December 18, 2013 07:50AM
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
Subject Author Posted

Proxy_cache or direct static files ?

Larry December 15, 2013 05:01AM

Re: Proxy_cache or direct static files ?

Larry December 16, 2013 05:47AM

Re: Proxy_cache or direct static files ?

Maxim Dounin December 18, 2013 07:44AM

Re: Proxy_cache or direct static files ?

Jonathan Matthews December 18, 2013 07:50AM

Re: Proxy_cache or direct static files ?

Larry December 19, 2013 09:48AM

Re: Proxy_cache or direct static files ?

Maxim Dounin December 19, 2013 10:22AM

Re: Proxy_cache or direct static files ?

Larry December 21, 2013 01:59AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 117
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready