Update README & add usage

This commit is contained in:
Jimmy
2021-09-29 16:22:04 +02:00
parent d67797a1d5
commit a40c54e9e7
2 changed files with 14 additions and 2 deletions

View File

@@ -7,11 +7,11 @@
## Introduction
`fastapi-cache` is a tool to cache fastapi response and function result, with backends support `redis` and `memcache`.
`fastapi-cache` is a tool to cache fastapi response and function result, with backends support `redis`, `memcache`, and `dynamodb`.
## Features
- Support `redis` and `memcache` and `in-memory` backends.
- Support `redis`, `memcache`, `dynamodb`, and `in-memory` backends.
- Easily integration with `fastapi`.
- Support http cache like `ETag` and `Cache-Control`.
@@ -20,6 +20,7 @@
- `asyncio` environment.
- `redis` if use `RedisBackend`.
- `memcache` if use `MemcacheBackend`.
- `aiobotocore` if use `DynamoBackend`.
## Install
@@ -39,6 +40,12 @@ or
> pip install "fastapi-cache2[memcache]"
```
or
```shell
> pip install "fastapi-cache2[dynamodb]"
```
## Usage
### Quick Start