Socket
Book a DemoInstallSign in
Socket

@cacheable/net

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cacheable/net

High Performance Network Caching for Node.js with fetch, request, http 1.1, and http 2 support

1.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Cacheable

High Performance Network Caching for Node.js with fetch, request, http 1.1, and http 2 support

codecov tests npm npm license

Features:

  • fetch from undici cache enabled via cacheable
  • fetch quick helpers such as get, post, put, and delete for easier development
  • request from undici cache enabled via cacheable
  • HTTP/1.1 and HTTP/2 caching support via Node.js http and https 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 and dns.resolve methods via cacheable
  • WHOIS caching for whois.lookup method via cacheable
  • 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.

MIT © Jared Wray

Keywords

cacheable

FAQs

Package last updated on 26 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.