diff --git a/README.md b/README.md index c6bc98d..102c88c 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,19 @@ axios.get(url); ## API +### Options (default) + +```ts +{ + ttlInMinutes?: 5, + disableCache?: false, + statusesToCache?: [200], + methodsToCache?: ['GET'], + excludeRoutes?: [], + ttlCheckIntervalMs?: 1000, +} +``` + ### On fastify instance

app.lcache available inside your app