@cacheable/net
Table of Contents
High Performance Network Caching for Node.js with fetch, request, http 1.1, and http 2 support
Features:
fetch
from undici cache enabled viacacheable
fetch
quick helpers such asget
,post
,put
, anddelete
for easier developmentrequest
from undici cache enabled viacacheable
- HTTP/1.1 and HTTP/2 caching support via Node.js
http
andhttps
modules - RFC 7234 compliant HTTP caching for native Node.js HTTP/HTTPS requests
- Drop in replacement for
http
https
,fetch
modules with caching enabled - DNS caching for
dns.lookup
anddns.resolve
methods viacacheable
- WHOIS caching for
whois.lookup
method viacacheable
- Advanced key generation via built in hashing and custom key generation functions
- Benchmarks for performance comparison
- All the features of cacheable - layered caching, LRU, expiration, hooks, backed by Keyv, and more!
- Highly Tested and Maintained on a regular basis with a focus on performance and reliability
Table of Contents
Getting Started
npm install @cacheable/net
How to Contribute
You can contribute by forking the repo and submitting a pull request. Please make sure to add tests and update the documentation. To learn more about how to contribute go to our main README https://github.com/jaredwray/cacheable. This will talk about how to Open a Pull Request
, Ask a Question
, or Post an Issue
.