Files
cloudflare__vinext/examples/workers-cache/wrangler.jsonc
James Anderson 4146d69021 fix(cloudflare): verify Worker version IDs during CDN warmup (#3072)
* fix(cloudflare): revalidate stale warmup retries

* fix(cloudflare): report CDN warmup retry progress

* test(cloudflare): retry prewarm verification on fresh Worker

* feat(cloudflare): configure CDN readiness probes

* fix(cloudflare): validate CDN warmup version overrides

* fix(cloudflare): verify CDN warmup version ids

* test(cloudflare): opt into dangerous warmup fallback

* fix(cloudflare): harden warmup version validation

* docs(cloudflare): clarify version binding environments
2026-08-24 23:03:15 +01:00

36 lines
999 B
JSON

{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "workers-cache",
// Workers Cache requires a recent compatibility date — bumping closer to
// release should be done once miniflare ships a newer workerd. See
// https://developers.cloudflare.com/workers/cache/
"compatibility_date": "2026-04-08",
"compatibility_flags": ["nodejs_compat"],
"main": "vinext/server/fetch-handler",
"preview_urls": true,
"account_id": "d48e2eb599d9aa075d5e682deaecc518",
"assets": {
"directory": "dist/client",
"not_found_handling": "none",
"binding": "ASSETS",
},
"observability": {
"enabled": true,
"head_sampling_rate": 1,
"logs": {
"enabled": true,
"invocation_logs": true,
},
"traces": {
"enabled": true,
},
},
"cache": {
"enabled": true,
},
"version_metadata": {
"binding": "CF_VERSION_METADATA",
},
"kv_namespaces": [{ "binding": "VINEXT_KV_CACHE", "id": "b38f84f642aa4bd4ba17a37bb516f0b5" }],
}