nginx的文档很操蛋,就一句话:
Syntax:
proxy_buffers number size
This directive sets the number and the size of buffers, into which will be read the answer, obtained from the proxied server. By default, the size of one buffer is equal to the size of page. Depending on platform this is either 4K or 8K.
这个size是指*单个*请求的最大缓存吗?比如一个文件有10M,那设置size为4K的话是不是就只缓存了头4K,其它就用硬盘来缓存了?
还有这个number,指的是同时最有多number个请求可以缓存吗?
Syntax:
proxy_buffers number size
This directive sets the number and the size of buffers, into which will be read the answer, obtained from the proxied server. By default, the size of one buffer is equal to the size of page. Depending on platform this is either 4K or 8K.
这个size是指*单个*请求的最大缓存吗?比如一个文件有10M,那设置size为4K的话是不是就只缓存了头4K,其它就用硬盘来缓存了?
还有这个number,指的是同时最有多number个请求可以缓存吗?
