A simple and robust caching solution for FastAPI that interprets request header values and creates proper response header values (powered by Redis)
If a duration that you would like to use throughout your project is missing from the list, you can easily create your own:
The source of each value used to construct this cache key is given below:
He…