Commit Graph

17 Commits

Author SHA1 Message Date
Randall Schmidt
da39daf753 npm ignore nyc_output 2021-06-11 14:04:44 -04:00
Randall Schmidt
ba067e65fd update readme 2021-06-11 14:03:46 -04:00
Randall Schmidt
4cae72dce2 custom caching 2021-06-11 14:03:46 -04:00
Randall Schmidt
be468439af only allow body to be consumed once, add some tests 2021-06-11 14:03:42 -04:00
Randall Schmidt
6e782f49db add a CACHE_VERSION to invalid caches when versions become incompatible 2021-06-11 14:03:41 -04:00
Randall Schmidt
7e5c71ffe7 add support for FormData 2021-06-11 14:03:41 -04:00
Randall Schmidt
206d6784d1 handle fs read streams 2021-06-11 14:03:41 -04:00
Randall Schmidt
b94babec12 refactor cache key calculation to have more space for dealing with different types of bodies 2021-06-11 14:03:35 -04:00
Randall Schmidt
022626e7f9 fix lint warnings 2021-06-11 14:03:26 -04:00
Randall Schmidt
8833c2276e add tests, fix flawed logic 2021-06-11 14:03:25 -04:00
Randall Schmidt
37daa38c7c implement new expanded response caching logic 2021-06-11 14:03:19 -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