Commit Graph

19 Commits

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