Commit Graph

20 Commits

Author SHA1 Message Date
7b0835fcf1 make imports work properly 2021-06-12 15:47:06 -04:00
2f5409c25c update tests 2021-06-11 15:52:15 -04:00
7f2dba84a3 add more header tests 2021-06-11 15:25:53 -04:00
ef5ddf69e4 npm ignore nyc_output 2021-06-11 14:12:34 -04:00
7779114055 update readme 2021-06-11 14:12:33 -04:00
831440152a custom caching 2021-06-11 14:12:33 -04:00
f92bd99968 only allow body to be consumed once, add some tests 2021-06-11 14:12:28 -04:00
bf4c295e48 add a CACHE_VERSION to invalid caches when versions become incompatible 2021-06-11 14:12:28 -04:00
9241b74dde add support for FormData 2021-06-11 14:12:27 -04:00
3b5adecd7f handle fs read streams 2021-06-11 14:12:27 -04:00
8a338f5f5d refactor cache key calculation to have more space for dealing with different types of bodies 2021-06-11 14:12:27 -04:00
02653e04c4 fix lint warnings 2021-06-11 14:12:25 -04:00
c452c8d860 add tests, fix flawed logic 2021-06-11 14:12:25 -04:00
bc92aa6865 implement new expanded response caching logic 2021-06-11 14:12:24 -04:00
8507c1be1c fix error if no second argument passed 2020-11-27 21:44:36 -05:00
e6efe02905 auto-fix eslint warnings 2020-11-27 20:49:36 -05:00
b2efd4a00c include request body in hash 2020-11-28 00:01:16 +01:00
15a87fac5a write readme 2020-04-17 16:56:05 -04:00
5d0147f6fd text(), json(), buffer() work 2020-04-17 16:31:22 -04:00
891444fe5e add boilerplate 2020-04-17 15:40:42 -04:00