From db4eb5d3971e9686b0b0375251b85f0a3e013dec Mon Sep 17 00:00:00 2001 From: Fredrik Johansen Date: Fri, 10 Nov 2023 13:25:26 +0100 Subject: [PATCH] docs(readme): updates readme with new disableCache option --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ff2d632..a531b28 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ const fastify = Fastify().register(dynamodbCache, { dynamoDbAddress: "http://localhost:8000", // Optional! If you are hosting your own instance of Dynamo (locally or cloud), then specify the ip address of the database here. tableName: "fastify-dynamodb-cache", // DynamoDB table name defaultTTLSeconds: 30, // Default TTL (seconds), which would be used if no TTL is specified on the endpoint. + disableCache: true, // Optional! If you want to disable caching from being set on endpoints, you can set this to true. Set it to false or leave it empty to enable cache. }); fastify.get(