Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor example documentation structure and add CacheableLookup example #3363

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

DarkGL
Copy link
Contributor

@DarkGL DarkGL commented Jun 22, 2024

This relates to...

#3349

Rationale

Changes

Refactor example documentation structure and add CacheableLookup example

Features

Bug Fixes

Breaking Changes and Deprecations

Status

Copy link
Member

@ronag ronag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change the other headers? other than that LGTM

@DarkGL DarkGL force-pushed the chore/cacheable-lookup-doc branch from b56765f to d2fe417 Compare June 23, 2024 17:42
@DarkGL
Copy link
Contributor Author

DarkGL commented Jun 23, 2024

Fixed

@ronag
Copy link
Member

ronag commented Jun 23, 2024

@metcoder95 @KhafraDev there is actually one problem with this example. If an upstream fails with e.g. ENOTFOUND or some other error that indicated that we cannot connect to the origin then it should be removed from the cache. Maybe future improvement?

@ronag
Copy link
Member

ronag commented Jun 23, 2024

@ronag ronag merged commit dd98299 into nodejs:main Jun 24, 2024
30 checks passed
ronag added a commit to nxtedition/undici that referenced this pull request Jun 25, 2024
* upstream/forward-dispatch:
  fix: forward dispatch return value
  Refactor example documentation structure and add CacheableLookup example (nodejs#3363)
@github-actions github-actions bot mentioned this pull request Dec 3, 2024
This was referenced Dec 16, 2024
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.

2 participants