From 28372256c81695bd5a2d8699c616dc1fbeb8f5af Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 30 Jul 2021 15:54:39 +0200 Subject: [PATCH] fdfd --- drama/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drama/__main__.py b/drama/__main__.py index 2021641f0..2f5b882ac 100644 --- a/drama/__main__.py +++ b/drama/__main__.py @@ -323,7 +323,7 @@ def after_request(response): "Origin, X-Requested-With, Content-Type, Accept, x-auth" ) response.headers.remove("Cache-Control") - response.headers.add("Cache-Control", "public") + response.headers.add("Cache-Control", "public, max-age=31536000") response.headers.add("Access-Control-Allow-Origin", app.config["SERVER_NAME"]) response.headers.add("Strict-Transport-Security", "max-age=31536000")