commit ad4199de75277c71b121973d9aef8176cb28fea3
parent dba063066025d8feed0e18dde91037c9bb503d53
Author: default <nobody@localhost>
Date: Sun, 14 Apr 2024 13:05:50 +0200
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/httpd.c b/httpd.c
@@ -388,6 +388,7 @@ void httpd_connection(FILE *f)
body, xs_dict_get(srv_config, "host"));
headers = xs_dict_append(headers, "WWW-Authenticate", www_auth);
+ headers = xs_dict_append(headers, "Cache-Control", "no-cache, must-revalidate, max-age=0");
}
if (ctype == NULL)