fastapi-cache icon indicating copy to clipboard operation
fastapi-cache copied to clipboard

[Question] How to setup caching globally?

Open psdon opened this issue 3 years ago • 0 comments

The current setup is to explicitly call cache() decorator on every API endpoints. Any suggestion how to do this globally? Dependency injection seems not to work

psdon avatar Mar 29 '22 03:03 psdon