long2ice / fastapi-cache

fastapi-cache is a tool to cache fastapi response and function result, with backends support redis and memcached.
https://github.com/long2ice/fastapi-cache
Apache License 2.0
1.3k stars 160 forks source link

cache_status_header not working #442

Open MJimmyChen opened 1 week ago

MJimmyChen commented 1 week ago

The parameter cache_status_header for the @cache decorator to change the name of the header doesn't work. Also furthermore the status of this header always give me MISS for some reason?