Asset Proxy
Serve CMS Media Through Your Edge Domain
Images, videos, and files delivered through the same edge domain as your API — globally cached, bandwidth-tracked, and bot-protected. Works with any CMS, no API changes needed.
Under 10ms, globally
Assets are cached across 300+ edge locations. Cache hits return in under 10ms, wherever your users are.
Bandwidth tracking and controls
Monitor usage per project, set limits, and stay ahead of overage costs before they hit your bill.
Bot and scraper protection
Known scrapers and crawlers are blocked at the edge before they consume your bandwidth.
Video streaming and large files
Full Range request support for video playback and large downloads — no extra configuration.
Image transformations preserved
Width, format, and quality parameters are forwarded to the origin unchanged. Your CMS image API works exactly as before.
Works with any CMS or origin
Contentful, Prismic, Sanity, Storyblok, Shopify, Cloudinary, Imgix, or any HTTPS origin.
How It Works
What happens on every asset request
- 1The browser requests
your-project.cmsassets.com/path/to/image.png - 2The edge validates the file type, screens the User-Agent, and checks the project's bandwidth quota.
- 3On a cache hit, the asset is returned instantly. On a miss, the origin is fetched and the response is cached globally.
- 4The asset is served to the browser. Usage is recorded asynchronously — no latency added to the response.
For Developers
Automated Integration — Patches Your Codebase in Minutes
The Orinami CLI agent (@synchronized-studio/cmsassets-agent) scans your project, finds CMS asset URLs, and patches your source files to point them to your edge domain — automatically. No manual URL rewriting across every component.
What You Get
- - Detects your framework and CMS automatically — Nuxt, Next.js, Remix, Astro, SvelteKit, and more
- - Installs the response transformer and patches asset URL references in your source files
- - Adds a re-run script to package.json — use it whenever you add new CMS-backed code
- - Optional AI mode patches complex files and reviews every change before you commit
Install
Add the package once and use the same helper for every supported CMS.
Copy command
npx @synchronized-studio/cmsassets-agent initRe-run after code changes
After init, the agent adds a script to your package.json. Use it whenever you add new asset URLs that need rewriting.
npm run cmsassets:transformShip confidently with AI-reviewed patches
Enable AI mode to let an LLM handle complex or unusual files, then run --ai-verify to get a review of every patched file before you merge. Useful when the AST-based patcher hits an edge case.
npx @synchronized-studio/cmsassets-agent init --patch-mode ai --ai-verify