fastapi-cache is a tool to cache fastapi response and function result, with backends support redis and memcached.
or
or
or
It is not sufficient to configure a response model in the route decorator; the cache needs to know what the method itself returns. If no return type decorator is given, the primitive JSON ty…