Skip to main content
Reference

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

URL Structure
https://cdn.odyn.dev/{environment}/{project}[@{version}]/{path}
SegmentValuesDescription
{environment}staging, p, autoStaging, production, or auto-detect
{project}Short ID, owner/slug, or UUIDProject identifier
@{version}Optional integerPinned version (production only)
{path}bundle.js, files/main.js, fb-components/bundle.jsOutput file path

Staging URLs

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.js

No-cache headers. Content updates instantly on deploy.

Auto-Detect URLs

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.js

The 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)

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.js

The CDN Worker resolves the @latest version via KV lookup. Content is immutably cached.

Production URLs (Pinned)

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.js

Pinned 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:

  1. Short ID — abc123
  2. Owner/slug — john/my-project
  3. UUID — f47ac10b-58cc-4372-a567-0e02b2c3d479