You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
sumandari
changed the title
response_hit_indication header always true even "found" is false
response_hit_indication header value is true when "found" is false
Dec 19, 2024
hit_cache doesn't reflect the
found
valueWhen the key expires, the
found
value will beFalse
, butapply_caching
method after always give'True'
when invoked inafter_request_funcs
flask-caching/src/flask_caching/__init__.py
Line 418 in 494d498
'hit_cache': 'True'
expectation:
when
found
is False, the header will befalse
in after_request invocationEnvironment:
The text was updated successfully, but these errors were encountered: