fastapi-cache

fastapi-cache is a tool to cache fastapi response and function result, with backends support redis and memcached.

APACHE-2.0 License

Downloads
226.5K
Stars
1.3K
Committers
30

Bot releases are visible (Hide)

fastapi-cache - v0.2.2

Published by long2ice 3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/long2ice/fastapi-cache/compare/v0.2.1...v0.2.2

fastapi-cache - v0.2.1 Latest Release

Published by long2ice over 1 year ago

  • Fix picklecoder
  • Fix connection failure transparency and add logging
  • Add Cache-Control and ETag on first response
  • Support Async RedisCluster client from redis-py
fastapi-cache - v0.2.0

Published by long2ice almost 2 years ago

  • Make request and response optional.
  • Add typing info to the cache decorator.
  • Support cache jinja2 template response.
  • Support cache JSONResponse
  • Add py.typed file and type hints
  • Add TestCase
  • Fix cache decorate sync function
  • Transparently handle backend connection failures.
fastapi-cache - v0.1.9

Published by long2ice about 2 years ago

  • Replace aioredis with redis-py.
fastapi-cache - v0.1.8

Published by long2ice almost 3 years ago

  • Support dynamodb backend.
fastapi-cache - v0.1.7

Published by long2ice almost 3 years ago

  • Fix default json coder for datetime.
  • Add enable param to init.
fastapi-cache - v0.1.6

Published by long2ice about 3 years ago

  • Fix redis cache.
  • Encode key builder.
fastapi-cache - v0.1.5

Published by long2ice about 3 years ago

  • Fix setting expire for redis (#24)
  • Update expire key
fastapi-cache - v0.1.4

Published by long2ice over 3 years ago

  • Fix default expire for memcached. (#13)
  • Update default key builder. (#12)
fastapi-cache - v0.1.3

Published by long2ice almost 4 years ago

  • Fix cache key builder.
fastapi-cache - v0.1.2

Published by long2ice almost 4 years ago

  • Add default config when init.
  • Update JsonEncoder.
fastapi-cache - v0.1.1

Published by long2ice about 4 years ago

  • Add in-memory support.