64

使用nginx缓存服务器上的静态文件

 6 years ago
source link: https://juejin.im/post/5af38e0c518825670c45ef6e
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
一、nginx缓存的优点 如图所示,nginx缓存,可以在一定程度上,减少源服务器的处理请求压力。 因为静态文件(比如css,js, 图片)中,很多都是不经常更新的。 nginx使用proxy_cache将用户的请求缓存到本地一个目录。下一个相同请求可以直接

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK