---
title: "Introducing Web Cache API support on Deno Deploy"
description: "Deno Deploy now offers beta support for the web-standard Cache API, giving serverless code semi-persistent storage for Request/Response pairs via caches.open(), cache.match() and cache.put()."
url: "https://swe.quest/articles/introducing-web-cache-api-support-on-deno-deploy-30aea198ea4df954"
canonical: "https://deno.com/blog/deploy-cache-api"
source: "Deno"
published: "2024-08-27"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 4
tags: ["caching","serverless","javascript","cdn-edge"]
---

# Introducing Web Cache API support on Deno Deploy

A post on [Deno](https://swe.quest/sources/deno.md), published 2024-08-27, 4 min read, Announcement. Original: [https://deno.com/blog/deploy-cache-api](https://deno.com/blog/deploy-cache-api)

## Summary

Deno Deploy now offers beta support for the web-standard Cache API, giving serverless code semi-persistent storage for Request/Response pairs via caches.open(), cache.match() and cache.put(). Entries persist indefinitely (usually at least 30 days) unless expiry is set with standard Expires or Cache-Control headers. The backend is a multi-tier LSM storage engine that moves 512KB pages between RAM, local NVMe SSD and object storage, using io\_uring to reach 2.4Gbps and sub-millisecond random I/O. It is free during the beta, and measured costs run about 10x lower than Deno KV.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Caching](https://swe.quest/tags/caching.md) (Backend & APIs)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [CDN & edge](https://swe.quest/tags/cdn-edge.md) (Infrastructure)

## Prerequisites

- JavaScript Request/Response API ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- HTTP caching headers ([easy posts on Caching](https://swe.quest/tags/caching.md?difficulty=easy))

## Keywords

Deno Deploy, Web Cache API, Deno KV, io\_uring, LSM tree

## Related posts

- [Deno 1.33: Deno 2 is coming](https://swe.quest/articles/deno-1-33-deno-2-is-coming-2b1565b87f38fa7f.md): Deno · 2023-04-28 · Medium · 8 min read · JavaScript, Runtimes & VMs, TypeScript
  Deno 1.33 ships a built-in, unstable KV database (Deno.openKv) that persists to disk locally and is geo-replicated on Deno Deploy.
- [Deno KV vs. Cloudflare Workers KV, Upstash Redis, AWS DynamoDB, and Google Firestore](https://swe.quest/articles/deno-kv-vs-cloudflare-workers-kv-upstash-redis-aws-dynamodb-and-google-firestore-e5a149ce3d17d354.md): Deno · 2023-12-13 · Medium · 9 min read · Databases, Serverless, Performance engineering, Consistency models, CDN & edge
  A vendor-run benchmark compares Deno KV with Upstash Redis, DynamoDB Global Tables, Google Firestore and Cloudflare Workers KV by timing 10-record reads and writes from colocated serverless functions, with warm-up reads excluded.
- [Deno 1.26 Release Notes](https://swe.quest/articles/deno-1-26-release-notes-ce9a6b5cc904c41e.md): Deno · 2022-09-29 · Medium · 9 min read · JavaScript, Runtimes & VMs, TypeScript, Performance engineering
  Deno 1.26 adds the Cache Web API (persisted to disk, with some differences from browsers), WebCrypto Ed25519/X25519 keys, and a new --allow-sys permission that separates OS-info APIs like hostname and systemMemoryInfo from --allow-env. npm support gains a --node-modules-dir flag that lays out a pnpm-style node\_modules for packages that expect one, plus targeted --reload=npm: flags, and the old --compat mode is removed.
- [Deno 1.43: Improved Language Server performance](https://swe.quest/articles/deno-1-43-improved-language-server-performance-ce41f07ca52bb667.md): Deno · 2024-05-01 · Medium · 9 min read · JavaScript, TypeScript, Runtimes & VMs, Developer tools
  Deno 1.43 cuts Language Server auto-completion latency in large codebases from 6-8 seconds to under one second and sharply reduces LSP memory use, fixing out-of-memory failures.
- [How We Made the Deno Language Server Ten Times Faster](https://swe.quest/articles/how-we-made-the-deno-language-server-ten-times-faster-b61c253ad0b180d5.md): Deno · 2024-06-20 · Medium · 7 min read · Performance engineering, Developer tools, TypeScript, Caching, Rust
  Deno cut language server auto-completion latency in large codebases from about 8 seconds to under one second by fixing how its Rust server synchronizes project state with the embedded TypeScript compiler (tsc).

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
