Skip to content

docs(dispatcher): add cache interceptor fetch example#4870

Open
nthbotast wants to merge 1 commit intonodejs:mainfrom
nthbotast:docs/cache-interceptor-fetch-example-20260306-075600
Open

docs(dispatcher): add cache interceptor fetch example#4870
nthbotast wants to merge 1 commit intonodejs:mainfrom
nthbotast:docs/cache-interceptor-fetch-example-20260306-075600

Conversation

@nthbotast
Copy link
Contributor

@nthbotast nthbotast commented Mar 6, 2026

What

  • add a dedicated cache interceptor example for fetch in docs/docs/api/Dispatcher.md
  • show how to compose a cached Agent, set it globally, and illustrate first/second request behavior

Why

Validation

  • git diff --check
  • npx --yes markdownlint-cli2 docs/docs/api/Dispatcher.md (fails due to many pre-existing file-wide lint issues unrelated to this change)

Signed-off-by: Nathanael BOT <nathanaelbot@minidenathanael.home>
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.13%. Comparing base (bfeacd0) to head (8e0eb28).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4870      +/-   ##
==========================================
- Coverage   93.14%   93.13%   -0.01%     
==========================================
  Files         109      109              
  Lines       34254    34254              
==========================================
- Hits        31905    31904       -1     
- Misses       2349     2350       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants