From 81bccbbbac881a51b74999bdcc7b1acee9f244a1 Mon Sep 17 00:00:00 2001 From: FrantiĊĦek Zatloukal Date: Feb 01 2021 22:28:18 +0000 Subject: Fix cache-control to make sense... --- diff --git a/oraculum/controllers/main.py b/oraculum/controllers/main.py index 34119b9..57d64fd 100644 --- a/oraculum/controllers/main.py +++ b/oraculum/controllers/main.py @@ -39,7 +39,7 @@ def app_before_first_request(): # Make sure api responses have 'cache-control: no-store' to prevent browsers/proxies from caching them @app.after_request def add_no_cache_headers(resp): - resp.headers['cache-control']='no-cache, no-store, must-revalidate, max-age=0' + resp.headers['cache-control']='no-store, must-revalidate, max-age=0' return resp