From 658d43dcb6400e1c01578a8480b51377f7b9f6a6 Mon Sep 17 00:00:00 2001 From: ingalls Date: Wed, 2 Oct 2024 11:00:18 -0400 Subject: [PATCH] Caching --- api/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/nginx.conf b/api/nginx.conf index 0d0b0489d..485b46233 100644 --- a/api/nginx.conf +++ b/api/nginx.conf @@ -59,11 +59,11 @@ http { add_header 'Permissions-Policy' 'fullscreen=(self), geolocation=(self), clipboard-read=(self), clipboard-write=(self)' always; add_header 'Content-Security-Policy' "default-src 'self' *.API_URL; ${IMG}; ${WORKER}; ${CONNECT}; ${STYLE_SRC_ATTR}; ${STYLE_SRC_ELEM}; ${FONT}; upgrade-insecure-requests;" always; - add_header Cache-Control no-cache; + add_header Cache-Control 'no-store, no-cache, must-revalidate'; add_header Expires 0; add_header Pragma no-cache; - try_files /index.html =404; + try_files /index.html; } location /docs/ {