From fe71fa2d8cc78b634b37835fb193039253bbd36e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Thu, 30 Mar 2023 18:00:08 +0200 Subject: [PATCH] Fix Caching --- backend/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app.py b/backend/app.py index 66817bf..bc8727a 100644 --- a/backend/app.py +++ b/backend/app.py @@ -266,7 +266,7 @@ def add_header(response): and also to cache the rendered page for 10 minutes. """ if not 'Cache-Control' in response.headers: - response.headers['Cache-Control'] = 'private, max-age=600' + response.headers['Cache-Control'] = 'private, max-age=600, no-cache, must-revalidate' return response @app.context_processor