Skip to content

Promote to production: bypass CF edge cache for OFM proxy - #181

Merged
slaveofcode merged 2 commits into
mainfrom
develop
Aug 8, 2026
Merged

Promote to production: bypass CF edge cache for OFM proxy#181
slaveofcode merged 2 commits into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Deploys PR #180 — removes cf.cacheEverything from OFM proxy fetch to stop the Worker serving corrupted PBF tiles from the broken Singapore edge cache.

🤖 Generated with Claude Code

Kresna and others added 2 commits August 8, 2026 15:27
…stic

The Worker was fetching OFM tile URLs with cf:{cacheEverything:true}, which
caused it to serve corrupted responses cached by Cloudflare's Singapore edge
node (HTTP 200 but invalid PBF body). Removing cacheEverything forces the
Worker to fetch direct from OFM origin via CF backbone, skipping the stale
edge cache entries.

Also adds a one-shot tile probe in MapExplorer that logs the status, content-
type, size, and first 8 bytes of a sample tile — so the next test immediately
reveals whether the response is valid PBF or corrupted data.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix(maps): bypass CF edge cache for OFM proxy + tile probe diagnostic
@slaveofcode
slaveofcode merged commit b3ffc2b into main Aug 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant