Skip to content

Commit 4f6e076

Browse files
committed
Add info regarding the removal of expired cached items
1 parent d88170c commit 4f6e076

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,8 @@ try {
345345
}
346346
```
347347
348-
Caching is enabled by default where items expire in 30 minutes. To modify the caching, one can add `expiresIn` to the requests configuration object. The values are in seconds. Value `0` disables caching.
348+
Caching is enabled by default where items expire in 30 minutes. Expired items are deleted every minute.
349+
To modify the caching, one can add `expiresIn` to the requests configuration object. The values are in seconds. Value `0` disables caching.
349350
```javascript
350351
// cache is valid for 30 minutes:
351352
const requestsConfig = {

0 commit comments

Comments
 (0)