Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f8dd5c

Browse files
author
Mark Pavlitski
committed
Cache valid responses for 15s.
1 parent 1fbf361 commit 6f8dd5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/drupal/microcache_fcgi.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ fastcgi_cache microcache;
88
## The cache key.
99
fastcgi_cache_key $scheme$request_method$host$request_uri;
1010

11-
## For 200 and 301 make the cache valid for 1s seconds.
12-
fastcgi_cache_valid 200 301 1s;
11+
## For 200 and 301 make the cache valid for 15 seconds.
12+
fastcgi_cache_valid 200 301 15s;
1313
## For 302 make it valid for 1 minute.
1414
fastcgi_cache_valid 302 1m;
1515
## For 404 make it valid 1 second.

0 commit comments

Comments
 (0)