Commit de3906e5 authored by memtkmcc's avatar memtkmcc

Issue #3149961: Nginx - Use 10 seconds micro-cache by default

parent 20aae23e
......@@ -1251,7 +1251,7 @@ location ~ ^/(?<esi>esi/.*)"$ {
fastcgi_cache_methods GET HEAD;
fastcgi_cache_min_uses 1;
fastcgi_cache_key "$scheme$is_bot$device$host$request_method$key_uri$cache_uid$http_x_forwarded_proto$sent_http_x_local_proto$cookie_respimg";
fastcgi_cache_valid 200 3s;
fastcgi_cache_valid 200 10s;
fastcgi_cache_valid 301 302 403 404 1s;
fastcgi_cache_valid any 1s;
fastcgi_cache_lock on;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment