diff --git a/app/routes/results.py b/app/routes/results.py index a8362270..905e7763 100644 --- a/app/routes/results.py +++ b/app/routes/results.py @@ -55,7 +55,7 @@ def results_svg(_id): Работа проверяется """ - return Response(svg_text, mimetype='image/svg+xml') + return Response(svg_text, headers=[("Cache-Control", "no-store")], mimetype='image/svg+xml') else: logger.info("Запрошенная проверка не найдена: " + _id) return "No such check", 404 \ No newline at end of file