Open
Description
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
flask-caching/src/flask_caching/__init__.py
Line 418 in 494d498
'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
Metadata
Metadata
Assignees
Labels
No labels
Activity