claude-code - 💡(How to fix) Fix [FEATURE] Don't re-prompt for approval on WebFetch cache hits

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

When WebFetch is called twice with the same URL inside its 15-minute cache window, the response is served from cache (no new outbound request) — but the user is still prompted to approve the second call.

(Claude Code itself claims this cache exist - I have not verified)

The agent somtimes issues multiple narrow prompts against the same page during iterative exploration. Each re-fetch is a fresh LLM pass against cached content, which is cheap and safe, but the repeated approval prompts add friction and discourage the pattern.

This likely generalizes — any tool with a response cache should treat cache hits as not requiring re-approval.

Proposed Solution

If the response is served from cache, skip the permission prompt. The user already approved a fetch that produced that exact bytes-on-disk; there's nothing new to consent to.

Alternative Solutions

No response

Priority

Medium - Would be very helpful

Feature Category

Other

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