Home  >  Article  >  Backend Development  >  nginx fastcgi_cache

nginx fastcgi_cache

WBOY
WBOYOriginal
2016-07-28 08:25:451127browse

Reference

http://www.cnxct.com/several-reminder-in-nginx-fastcgi_cache-and-php-session_cache_limiter

http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_cache

fastcgi_cache_path /data/files/game/nginxCache/content levels=1:2 keys_z inactive=1d max_size=1G;
fastcgi_temp_path /data/files/game/nginxCache/temp;
fastcgi_cache_key "$scheme$request_method$host$request_uri$is_args$args";
fastcgi_cache_use_stale error timeout invalid_header http_500;
#nocache
fastcgi_ignore_headers "Cache-Control" "Expires" "Set-Cookie";
rrree

The above has introduced nginx fastcgi_cache, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
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