Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.233 Home All releases olderv2.1.232 v2.1.234newer
Claude Code v2.1.233

WebFetch cache lifetime is now configurable

Use it now
Useful4 Signal2
WebFetch Notable

You can set how long WebFetch keeps pages cached, in milliseconds.

CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS
What

CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS sets how long fetched pages stay cached, in milliseconds. Without it the built-in default applies. The value is read once on first use and also drives the cache duration shown in WebFetch output.

Details
  • Validated as a digits-only integer with a minimum of 1.
Usage
CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS=900000 claude
Evidence

CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.233 →