Cache API Observability Test

Test CF-Cache-Status header behavior and LogPush integration.

← Back to Main Menu

Quick Test

Run the full test sequence to verify CF-Cache-Status behavior:

Run Full Test

Key Findings

Operation CF-Cache-Status LogPush
cache.match() HIT HIT (auto-added by CF) EdgeResponseStatus=200, CacheCacheStatus=hit
cache.match() MISS N/A (returns undefined) EdgeResponseStatus=504, CacheCacheStatus=miss

All Cache API calls have ClientRequestSource=6 (edgeWorkerCacheAPI) in LogPush.

Individual Actions

Action Description Link
clear Delete test key from cache Run
store Fetch from httpbin and store in cache Run
check Check cache headers without consuming body Run
match Return cache.match() response directly Run
test-miss Trigger MISS for LogPush verification Run

LogPush Filtering

To analyze Cache API traffic in LogPush:

To exclude Cache API traffic (end-users only):

The 504s from MISS are expected - see docs.