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

Add control over server default cache time #2

Open Sayanc2000 opened 4 months ago

Sayanc2000 commented 4 months ago

User should be able to add a server wide default cache time, rather than default of 60 sec as of now

Casyfill commented 3 months ago

also would really love to be able to set default per endpoint/route

Casyfill commented 3 months ago

Submitted GH-4 to have control over default time

Sayanc2000 commented 3 months ago

Thanks @Casyfill will take a look