Home > Backend Development > PHP Tutorial > nginx cache path configuration optimization nginx apache nginx php nginx rewrite

nginx cache path configuration optimization nginx apache nginx php nginx rewrite

WBOY
Release: 2016-07-29 08:53:58
Original
1110 people have browsed it
When the response body of the back-end server is larger than proxy_temp_file_write_size, the response will be buffered in the temporary file in the proxy_temp_path directory; when the client's request body is larger than client_body_buffer_size, the request will be cached in the temporary file in the client_body_temp_path directory. Therefore, when nginx processes requests or responses with large amounts of data, the disk IO pressure corresponding to the temporary directory is high and may become a system bottleneck. Application should be based on application scenarios and Data size, reasonable configuration proxy_temp_file_write_size and client_body_buffer_size, appropriately reduce the need to cache to temporary files.

The above introduces the nginx cache path configuration optimization, including nginx content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template