commit 6bf059cd88625458b6807af76c4244c1f307e731
parent d5079ced9aeb3e2fb34017f172ad6e44bb1454c3
Author: Sebastian <sebasjm@taler-systems.com>
Date: Thu, 30 Apr 2026 20:44:38 -0300
fix #11356: cache is bad here since
we want the browser to reload and find out that there is no paywall
anymore. Maybe we can used an etag
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/backend/paivana-httpd_templates.c b/src/backend/paivana-httpd_templates.c
@@ -305,10 +305,6 @@ 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=300"));
{
char *uri;