From 135c041448fa3fc11c089040dca3229c9b7a382f Mon Sep 17 00:00:00 2001 From: Loewy Date: Wed, 15 Jul 2026 17:01:18 -0700 Subject: [PATCH] Prevent stale web shell caching --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 13b520d..ce79351 100644 --- a/flake.nix +++ b/flake.nix @@ -82,7 +82,9 @@ gzip_static on; root ${staticAssetsPath}; try_files $uri $uri/ /index.html; - add_header Cache-Control "no-cache, must-revalidate"; + etag off; + if_modified_since off; + add_header Cache-Control "no-store" always; } } }