Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.233 ·

WebFetch cache lifetime is now configurable

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

Use it now Notable New Features
JSON All of v2.1.233
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WebFetchArea: what it touches
New FeaturesKind: in v2.1.233,
What probably matters to youSection of the release
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.

Read from
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's release notes agreeAdded CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS environment variable to configure the WebFetch session URL cache TTL (default unchanged: 15 minutes)
The name it cites is new in this buildNew in this build: CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS

See this entry in the whole of v2.1.233 →

Feedback