We seem to have some cache-related functionality, however they are conflicting.
In Flask, we have:
@app.middleware("http")
async def add_no_cache_headers(request: Request, call_next):
response = await call_next(request)
response.headers['Pragma'] = 'no-cache'
response.headers['Expires'] = '0'