fastapi-cache icon indicating copy to clipboard operation
fastapi-cache copied to clipboard

fastapi-cache is a tool to cache fastapi response and function result, with backends support redis and memcached.

Results 164 fastapi-cache issues
Sort by recently updated
recently updated
newest added

The `get_typed_return_annotation` method is only available after fastapi 0.89.0. This PR is compatible with previous versions.

As mentioned in #144 , I just hit the need to ignore the cache headers coming in from the 3rd party. Simple optional param to ignore.

hello, im trying to setup fastapi with cache support in vercel but i get this error [ERROR] AssertionError: You must call init first! Traceback (most recent call last):   File "/var/task/vc__handler__python.py",...

This is a meta issue to track what I think would need to happen to get to something that can be called version 1.0: ## Development and release process -...

While the `FastAPICache` object is implemented as a class, it is really just a singleton namespace; all attributes are class variables and all methods are class methods. All state it...

enhancement

## The context Currently, if your cached endpoint uses arguments that should be ignored when generating a cache key, you have no choice but to create a custom key builder....

enhancement

There was a difficult time recently when I tried and couldn't figure out why everything seemed to work, but the cache wouldn't write. It turned out that it was because...

documentation

and add in-memory backend example to README

In the example Readme file @app.on_event("startup") is being used but at the moment it is being deprecated and getting replaced by lifespan functions. Ideally the documentation should be updated to...