From 3f4bb4dde95657db59c2af9128e7070c64fe42d8 Mon Sep 17 00:00:00 2001 From: mukunda katta Date: Fri, 15 May 2026 07:47:40 -0700 Subject: [PATCH] doc: clarify fetch cache behavior --- doc/api/globals.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/api/globals.md b/doc/api/globals.md index a70442f1bb91ec..9d3b17ad88f370 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -567,6 +567,10 @@ The implementation is based upon [undici](https://undici.nodejs.org), an HTTP/1. written from scratch for Node.js. You can figure out which version of `undici` is bundled in your Node.js process reading the `process.versions.undici` property. +Node.js does not implement a browser-style HTTP cache for `fetch()`. Options +such as `cache` are accepted for Web API compatibility, but do not make repeated +requests reuse cached responses. + ### Custom dispatcher You can use a custom dispatcher to dispatch requests passing it in fetch's options object.