Contents

fastapi-cache2 0.2.1

0

Cache for FastAPI

Cache for FastAPI

Stars: 1109, Watchers: 1109, Forks: 131, Open Issues: 78

The long2ice/fastapi-cache repo was created 3 years ago and the last code push was 4 weeks ago.
The project is very popular with an impressive 1109 github stars!

How to Install fastapi-cache2

You can install fastapi-cache2 using pip

pip install fastapi-cache2

or add it to a project with poetry

poetry add fastapi-cache2

Package Details

Author
long2ice
License
Apache-2.0
Homepage
https://github.com/long2ice/fastapi-cache
PyPi:
https://pypi.org/project/fastapi-cache2/
Documentation:
https://github.com/long2ice/fastapi-cache
GitHub Repo:
https://github.com/long2ice/fastapi-cache

Classifiers

No  fastapi-cache2  pypi packages just yet.

Errors

A list of common fastapi-cache2 errors.

Code Examples

Here are some fastapi-cache2 code examples and snippets.

GitHub Issues

The fastapi-cache2 package has 78 open issues on GitHub

  • [Question] Different expire value depending on HTTP response
  • Response headers are sent only on the second request.
  • Unable to use pytest with cache
  • Fix: browsers caching data longer than 'expire'
  • Avoid response model validation of cache
  • redis produces multiple keys for the same request because args/kwargs aren't encoded

See more issues on GitHub

Related Packages & Articles

fastapi-admin 1.0.4

A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin.

redis 5.0.3

Python client for Redis database and key-value store