Skip to content

Cache valid responses for 15s, not 1s in FCGI-auth mode #243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/drupal/microcache_fcgi.conf
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@ fastcgi_cache microcache;
## The cache key.
fastcgi_cache_key $scheme$request_method$host$request_uri;

## For 200 and 301 make the cache valid for 1s seconds.
fastcgi_cache_valid 200 301 1s;
## For 200 and 301 make the cache valid for 15 seconds.
fastcgi_cache_valid 200 301 15s;
## For 302 make it valid for 1 minute.
fastcgi_cache_valid 302 1m;
## For 404 make it valid 1 second.