Best way to propagate cache-control policy in a FastAPI application?
Using FastAPI
and FastAPICache
, we can use the Cache-Control
header to allow the API response to be force-computed or allowed to returned from a cache.
Using FastAPI
and FastAPICache
, we can use the Cache-Control
header to allow the API response to be force-computed or allowed to returned from a cache.