# @netlify/cache

> TypeScript utilities for interacting with the Netlify cache

Latest version **4.0.0** (published 2026-08-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @netlify/cache
pnpm add @netlify/cache
yarn add @netlify/cache
bun add @netlify/cache
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2026-08-18 |
| First published | 2025-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.12.0 |
| Dependencies | 1 |
| Unpacked size | 64 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 26 |
| Author | Netlify Inc. |
| Maintainers | netlify-bot, mikewen, youvalv, serhalp-netlify, mlgualtieri-gatsby |
| Keywords | netlify, cdn, cache, cachestorage |

## Links

- npm: https://www.npmjs.com/package/@netlify/cache
- Repository: https://github.com/netlify/primitives
- Homepage: https://github.com/netlify/primitives#readme
- Issues: https://github.com/netlify/primitives/issues
- npm.io page: https://npm.io/package/@netlify/cache

## Dependencies (1)

- [@netlify/runtime-utils](https://npm.io/package/@netlify/runtime-utils.md) 3.0.0

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 4.0.0 (latest) — 2026-08-18
- 3.4.10 — 2026-08-12
- 3.4.9 — 2026-07-24
- 3.4.8 — 2026-05-29
- 3.4.7 — 2026-05-18
- 3.4.6 — 2026-05-15
- 3.4.5 — 2026-05-13
- 3.4.4 — 2026-03-19
- 3.4.3 — 2026-03-18
- 3.4.2 — 2026-03-12
- 3.4.1 — 2026-03-10
- 3.4.0 — 2026-02-27
- 3.3.5 — 2026-02-06
- 3.3.4 — 2025-12-08
- 3.3.3 — 2025-11-17
- … 36 more at https://npm.io/package/@netlify/cache/versions

## README

[![Build](https://github.com/netlify/primitives/workflows/Build/badge.svg)](https://github.com/netlify/primitives/actions)
[![Node](https://img.shields.io/node/v/@netlify/cache.svg?logo=node.js)](https://www.npmjs.com/package/@netlify/cache)

# @netlify/cache

TypeScript utilities for interacting with the Netlify cache.

## Installation

You can install `@netlify/cache` via npm:

```shell
npm install @netlify/cache
```

---
_Source: https://npm.io/package/@netlify/cache · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
