nodejs / nodejs/undici

Support all the `cache` options in `fetch()`

Open
#3,847 14 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
7.7k
Forks
880
Avg merge
2d 16h
Merged PRs (30d)
68

Description

Ref https://developer.mozilla.org/en-US/docs/Web/API/Request/cache.

I think we could add some support for this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the fetch() entry point and compare its current behavior with the MDN Request.cache reference linked in the issue. Define the supported cache options and their expected behavior before changing the implementation; done means all referenced options are supported and their behavior is covered by validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.