Skip to content

the ES2019 provided Object.fromEntries#726

Merged
greg-mckeon merged 2 commits into
cloudflare:productionfrom
t829702:patch-1
Feb 10, 2021
Merged

the ES2019 provided Object.fromEntries#726
greg-mckeon merged 2 commits into
cloudflare:productionfrom
t829702:patch-1

Conversation

@t829702

@t829702 t829702 commented Feb 3, 2021

Copy link
Copy Markdown
Contributor

Convert headers into an object, with Object.fromEntries (ES2019).

@t829702
t829702 requested a review from a team as a code owner February 3, 2021 07:01
…o an object

Convert headers into an object, with Object.fromEntries (ES2019)
@t829702

t829702 commented Feb 10, 2021

Copy link
Copy Markdown
Contributor Author

any reviews?

@greg-mckeon

Copy link
Copy Markdown
Contributor

Thanks for the PR @t829702!

@greg-mckeon
greg-mckeon merged commit a591b87 into cloudflare:production Feb 10, 2021
agents-git-bot Bot pushed a commit that referenced this pull request Dec 9, 2025
This update adds documentation for the cacheTtl option in the useAgent hook,
which was previously undocumented. The documentation clarifies:

- Default cache behavior (5 minute TTL)
- How to customize cache duration with cacheTtl
- How to disable caching by setting cacheTtl to 0
- Cache invalidation with queryDeps

This corresponds to a bug fix in cloudflare/agents PR #726 that corrected
the behavior when cacheTtl is set to 0 (previously incorrectly cached for
5 minutes instead of disabling cache).

Related: cloudflare/agents#726

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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