Sayanc2000 / cache-fastapi

A lightweight caching library which leverages FastAPI's middleware functionality and follows best practices of cache-control to easily speed up your large requests.
MIT License
21 stars 2 forks source link

Issue #2 - control server default #4

Open Casyfill opened 3 months ago

Casyfill commented 3 months ago

Sets default server-side cache time based on CACHE_FASTAPI_DEFAULT_CACHE_TTL environmental variable (or defaults to 60)