nginx caches js, css, images and other information. What is the implementation principle?
高洛峰
高洛峰 2017-05-16 17:23:04
0
1
1029

nginx caches js, css, pictures and other information. What is the implementation principle?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(1)
PHPzhong

http://nginx.org/cn/docs/http/ngx_http_proxy_module.html
For example, there is a Tomcat server behind Nginx, and the project is deployed on the Tomcat server. Nginx forwards all requests to the Tomcat server through proxy_pass, and Tomcat returns data to Nginx. If Nginx is configured with proxy_cache, Nginx will return the js/js returned by Tomcat according to the configuration. css/img is cached in the file system (proxy_cache_path) of the server where Nginx is located.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template