From 275e9b66f43c8c8b07da0bc6fa0cdbc72fcbae36 Mon Sep 17 00:00:00 2001 From: Randall Schmidt Date: Thu, 10 Jun 2021 13:50:53 -0400 Subject: [PATCH] update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c6e6151..9ad189a 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ Supported options: ```js { ttl: 1000, // Time to live. How long (in ms) responses remain cached before being automatically ejected. If undefined, responses are never automatically ejected from the cache. - global: true, // If true, uses the global cache, which is shared together by all MemoryCaches that specify this option. If false, every MemoryCache uses a separate cache. + global: true, // If true, uses the global cache, which is shared together by all MemoryCaches that specify this option. If false (or undefined), every MemoryCache uses a separate cache. } ``` @@ -142,7 +142,7 @@ Usage: ```js const createNodeFetchCache, { FileSystemCache } = require('node-fetch-cache'); -const fetch = createNodeFetchCache(new MemoryCache(options)); +const fetch = createNodeFetchCache(new FileSystemCache(options)); ``` ```js