hit_cache doesn't reflect the found value
When the key expires, the found value will be False, but apply_caching method after always give 'True' when invoked in after_request_funcs
|
def apply_caching(response): |
'hit_cache': 'True'
expectation:
when found is False, the header will be false in after_request invocation
Environment:
- Python version: 3.11
- Flask-Caching version: 2.3.0