CDN URL Patterns
URL anatomy for staging, production, pinned, and folder bundle CDN paths.
All URLs are served from https://cdn.odyn.dev.
URL Structure
https://cdn.odyn.dev/{environment}/{project}[@{version}]/{path}| Segment | Values | Description |
|---|---|---|
{environment} | staging, p, auto | Staging, production, or auto-detect |
{project} | Short ID, owner/slug, or UUID | Project identifier |
@{version} | Optional integer | Pinned version (production only) |
{path} | bundle.js, files/main.js, fb-components/bundle.js | Output file path |
Staging URLs
https://cdn.odyn.dev/staging/{project}/bundle.js
https://cdn.odyn.dev/staging/{project}/bundle.css
https://cdn.odyn.dev/staging/{project}/files/{file}
https://cdn.odyn.dev/staging/{project}/fb-{folder}/bundle.jsNo-cache headers. Content updates instantly on deploy.
Auto-Detect URLs
https://cdn.odyn.dev/auto/{project}/bundle.js
https://cdn.odyn.dev/auto/{project}/bundle.css
https://cdn.odyn.dev/auto/{project}/files/{file}
https://cdn.odyn.dev/auto/{project}/fb-{folder}/bundle.jsThe CDN resolves the environment per request from the requesting page's
origin: pages on *.webflow.io, and pages on any host configured under
Staging Domains, are served the staging build;
everything else gets production (@latest). Requests with no usable origin default to
production. Responses vary on Origin/Referer and echo the decision in an
X-Odyn-Auto-Env header.
Production URLs (Floating)
https://cdn.odyn.dev/p/{project}/bundle.js
https://cdn.odyn.dev/p/{project}/bundle.css
https://cdn.odyn.dev/p/{project}/files/{file}
https://cdn.odyn.dev/p/{project}/fb-{folder}/bundle.jsThe CDN Worker resolves the @latest version via KV lookup. Content is immutably cached.
Production URLs (Pinned)
https://cdn.odyn.dev/p/{project}@42/bundle.js
https://cdn.odyn.dev/p/{project}@42/bundle.css
https://cdn.odyn.dev/p/{project}@42/files/{file}
https://cdn.odyn.dev/p/{project}@42/fb-{folder}/bundle.jsPinned URLs point to a specific version and never change. Safe to hard-cache permanently.
Project Path Resolution
URLs resolve the project identifier in this priority:
- Short ID —
abc123 - Owner/slug —
john/my-project - UUID —
f47ac10b-58cc-4372-a567-0e02b2c3d479