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 119 fastapi-cache issues
Sort by recently updated
recently updated
newest added

I'm not sure how to discard 500 and 400 errors from cache using InMemoryBackend. My usecase depends on an external provider, but I want to cache only success responses. If...

async with self.redis.pipeline(transaction=True) as pipe: TypeError: pipeline() got an unexpected keyword argument 'transaction'

The README.md says the following are both literally possible. > `pip install fastapi-cache2[redis]` > `pip install fastapi-cache2[memcache]` But they are not: ```sh pip install fastapi-cache2[redis] zsh: no matches found: fastapi-cache2[redis]...

## Description I'm having an issue where I want to debug certain endpoints locally. But since those responses are cached, my breakpoints are never getting reached. What's the best way...

documentation
question

Is it possible to run a function whenever a cache is used or cache key is set? Ideally something similar to the _custom_key_coder_ , for example: ``` def key_set_function( func,...

enhancement

Hi, I've been using your lib for a while now, and it's amazing! But for some late issues, I've found out that the ```Cache-Control: no-cache``` wasn't working. Here is my...

Should not `aioredis`, `memcache`, and `redis` come with the installation of this package, as they are requirements? Regarding `redis` vs `memcache` and PyPi, this is issue is related: #29

When assigning cache_key with key_builder, args/kwargs must be encoded with the coder so a unique id for a specific endpoint and does not create multiple per request. Issue is now...

This would be very useful in combination with `Last-modified` in response headers, especially for SEO. The challenge would be how to elegantly decide whether the resource has been modified or...

enhancement
help wanted