Skip to content

Commit

Permalink
docs(readme): updates readme with new disableCache option
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikj31 committed Nov 10, 2023
1 parent e3aad18 commit db4eb5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit db4eb5d

Please sign in to comment.