Skip to content

Commit 223d907

Browse files
committed
Reduce cache time
1 parent 0da132e commit 223d907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/proxy/guides/nginx.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ server {
5050
# Tiny, negligible performance improvement. Very optional.
5151
proxy_buffering on;
5252
53-
# Cache the script for 6 hours, as long as plausible.io returns a valid response
53+
# Cache the script for 5 minutes, as long as plausible.io returns a valid response
5454
proxy_cache jscache;
55-
proxy_cache_valid 200 6h;
55+
proxy_cache_valid 200 5m;
5656
proxy_cache_use_stale updating error timeout invalid_header http_500;
5757
5858
# Optional. Adds a header to tell if you got a cache hit or miss

0 commit comments

Comments
 (0)