claude-code - 💡(How to fix) Fix [FEATURE] Allow configuring WebFetch cache TTL

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

The WebFetch tool currently includes an undocumented hardcoded 15-minute response cache. (according to Claude Code itself) There's no way to tune or bypass it via settings.json, an environment variable, or a CLI flag.

When manually approving each request it's very annoying to re-approve the same request multiple time. Atm. I still have to re-approve within the 15min window though.

Proposed Solution

It would be useful to expose this as configuration — e.g. a webFetch.cacheTtlSeconds setting in settings.json, or a bypass_cache: true parameter on the tool itself.

Alternative Solutions

No response

Priority

Medium - Would be very helpful

Feature Category

Configuration and settings

Use Case Example

No response

Additional Context

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] Allow configuring WebFetch cache TTL