nginx静态缓存插件ngx_slowfs_cache.zip
ngx_slowfs_cache是nginx模块,允许缓存静态文件(使用root指令管理)。 这使得能够为存储在慢文件系统上的文件创建快速缓存。当缓存放置在与原点相同的速度磁盘上时,使用此模块没有意义。配置示例:http { slowfs_cache_path /tmp/cache levels=1:2 keys_zone=fastcache:10m; slowfs_temp_path /tmp/temp 1 2; server { location / { root /var/www; slowfs_cache
下载地址
用户评论