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

eTag generation should be optional and configured via a global setting AND a setting per-endpoint

Open a-luna opened this issue 4 years ago • 0 comments

  • eTag generation should be "on" by default
  • Controlled by a value provided to the FastApiRedisCache.init() method (this Is the "global" setting)
  • Can also be configured per-endpoint by a value provided to the @cache decorator
  • The value provided to @cache overrides the global setting

a-luna avatar Jul 07 '21 07:07 a-luna