Skip to content

Commit b655324

Browse files
committed
More caching settings
1 parent a90374b commit b655324

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/nginx-bp/cache.conf

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@ fastcgi_cache_bypass $cookie_PHPSESSID;
1010

1111
fastcgi_cache_use_stale error timeout invalid_header http_500;
1212
fastcgi_cache_valid 200 301 302 304 5s; #use short amounts only for testing purposes
13+
fastcgi_ignore_headers "Cache-Control" "Expires" "Set-Cookie";
14+
if_modified_since before;
1315

14-
fastcgi_ignore_headers "Cache-Control" "Expires" "Set-Cookie";
16+
open_file_cache max=300;
17+
open_file_cache_errors on;

0 commit comments

Comments
 (0)