new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Cloudflare Workers · all subjects

cache/observability

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Inspect cache with Cf-Cache-Status header

The Cf-Cache-Status response header provides visibility into cache behavior. Common values are: HIT (Cloudflare returned a cached response without running your Worker), MISS (your Worker ran and the response was stored), EXPIRED, REVALIDATED, UPDATING (cached response was stale and your Worker ran in background to refresh it), STALE, and BYPASS (caching was disabled for this request). Refer to Cloudflare cache responses for the full set of values.

Cache hits in Workers observability dashboard

Each invocation in the Workers observability dashboard surfaces whether it was served from cache, allowing you to filter and aggregate cache-hit behavior across your Worker's traffic.

Cannot inspect exact cache key composition

At launch, you cannot inspect the exact cache key Cloudflare computed for a request. If two requests you expected to share a cached response do not, you have to reason about what part of the key differed from the components listed in the cache key specification.

Give your agent this brain