commit 3529296d44f4c422a44bb3578eafd907247b40da
parent 6eebedb0ae5ff258d2f789e4dc42e058d43f5ab7
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 2 May 2026 19:30:20 +0200
must allow some minimum caching, otherwise this is really bad for high-performance sites
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/backend/paivana-httpd_templates.c b/src/backend/paivana-httpd_templates.c
@@ -305,7 +305,10 @@ load_paywall (struct MHD_Connection *conn,
MHD_HTTP_HEADER_VARY,
MHD_HTTP_HEADER_ACCEPT_LANGUAGE ", "
MHD_HTTP_HEADER_ACCEPT_ENCODING));
-
+ GNUNET_break (MHD_YES ==
+ MHD_add_response_header (reply,
+ MHD_HTTP_HEADER_CACHE_CONTROL,
+ "public, max-age=60"));
{
char *uri;