Skip to content

Commit 10eb9da

Browse files
committed
Updated readme
1 parent 5c13736 commit 10eb9da

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ the data was fetched from cache versus fresh data.
6969

7070
```
7171
Hit {
72-
version: 2,
72+
version: 3,
7373
cacheName: '-internal/hoopla',
7474
cached: true,
7575
created: 2022-04-22T21:05:14.094Z,
@@ -78,6 +78,8 @@ Hit {
7878
at /Users/andrewshell/code/personal/test-cacheism/index.js:8:15
7979
at Cacheism.go (/Users/andrewshell/code/personal/cacheism/lib/cacheism.js:29:30)
8080
at async run (/Users/andrewshell/code/personal/test-cacheism/index.js:7:13),
81+
errorTime: 2022-04-22T21:30:56.275Z,
82+
consecutiveErrors: 1,
8183
etag: '"15-QcHvuZdyxCmLJ4zoYIPsP6pkNoM"',
8284
isHit: true,
8385
isMiss: false
@@ -95,14 +97,16 @@ miss if you fetch with the onlyCache status and there isn't a cache.
9597

9698
```
9799
Miss {
98-
version: 2,
100+
version: 3,
99101
cacheName: '-internal/hoopla',
100102
cached: false,
101103
created: 2022-04-22T21:30:56.275Z,
102104
data: null,
103105
error: Error: Missing cache
104106
at Cacheism.go (/Users/andrewshell/code/personal/cacheism/lib/cacheism.js:27:19)
105107
at async run (/Users/andrewshell/code/personal/test-cacheism/index.js:7:18),
108+
errorTime: 2022-04-22T21:30:56.275Z,
109+
consecutiveErrors: 1,
106110
etag: null,
107111
isHit: false,
108112
isMiss: true

0 commit comments

Comments
 (0)