From 15e33bef75cc769d80ecae83745b685eeed6125d Mon Sep 17 00:00:00 2001 From: Wojciech Kwolek Date: Mon, 14 Sep 2020 00:30:55 +0200 Subject: [PATCH] disable cache for graph.svg --- app/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/graph.py b/app/graph.py index fa5f7b8..fe605b4 100644 --- a/app/graph.py +++ b/app/graph.py @@ -23,7 +23,7 @@ def graph_svg(): print(accomplishments) - return render_template('graph.svg', days=days, **gen_graph_data(accomplishments)), 200, {'Content-Type': 'image/svg+xml'} + return render_template('graph.svg', days=days, **gen_graph_data(accomplishments)), 200, {'Content-Type': 'image/svg+xml', 'Cache-Control': 'no-cache'} def gen_scale(base=10):