Playground

Imgix Playground

Asset Proxy

Run real requests through the Cachely edge proxy and see how server-side token injection, edge caching, asset URL rewriting, preview bypass, and AI transforms work for Imgix.

Open docs

Asset proxy demo — route Imgix-processed images through your tenant edge domain while preserving all rendering parameters.

Asset URLs rewritten to tenant domainImgix rendering params preservedGlobal edge cachingSingle-domain delivery

Integration facts (verified against the SDK)

SDK module
Asset proxy — no SDK module
Built-in provider id
Not applicable (asset-only)
Real SDK exports used
None — asset URL rewriting only
CLI setup
Not a CLI provider — configure asset URLs manually.

Recommended: Asset proxy — serve assets through the tenant domain (no CMS/API SDK)

Supported Partial Not applicable
Asset Proxy
  • API proxy

    Not applicable
    What it does
    Routes CMS API calls through the Cachely edge.
    Use it for
    Hiding tokens, caching CMS responses, using one tenant domain.
    Benefit
    Faster repeated reads, safer public apps, unified delivery.
  • Server-side token injection

    Not applicable
    What it does
    Keeps CMS credentials on the edge/server side.
    Use it for
    APIs that normally require private tokens.
    Benefit
    The token never ships to the browser.
  • Edge cache

    Supported
    What it does
    Caches CMS/API responses at the edge.
    Use it for
    Repeated content reads and high-traffic pages.
    Benefit
    Lower origin/CMS usage, faster responses, better resilience.
  • Asset URL rewriting

    Supported
    What it does
    Rewrites CMS asset URLs inside JSON responses to your tenant domain.
    Use it for
    Serving images/assets from the same delivery layer.
    Benefit
    Fewer third-party domains, edge delivery, simpler security policy.
  • Preview / bypass mode

    Supported
    What it does
    Skips the cache for fresh CMS/editor preview content.
    Use it for
    Preview flows, draft content, editor QA.
    Benefit
    Editors see fresh content without disabling production cache.
  • AI transforms

    Not applicable
    What it does
    Applies a named AI transform profile to eligible JSON/text responses.
    Use it for
    Localization, summaries, formatting, content adaptation.
    Benefit
    Transform responses without changing the CMS or app code.
  • Native SDK integration

    Not applicable
    What it does
    Wraps the provider SDK and automatically proxies its requests.
    Use it for
    Nuxt/Next apps that already use the CMS SDK.
    Benefit
    Minimal code changes, safer defaults.

Integration

Ways to connect Imgix

The recommended paths for Imgix are shown first. Less common options are tucked under “Other options”.

Asset proxy

Recommended

Serve images/video through your tenant domain with edge caching. This is the whole integration for an asset provider.

Code changes
Point asset URLs at your tenant domain (or let the SDK rewrite them). Imgix rendering params pass through untouched.
Cachely handles
Edge-cached delivery, asset URL rewriting, and bandwidth control. No CMS/API SDK needed.

Limitations: Asset-only — no CMS/API client, server-side token injection, or AI transforms apply. Not a CLI provider.

URL
// Original
https://my-source.imgix.net/photos/hero.jpg?w=1200&auto=format
// Through Cachely (params preserved, edge-cached)
https://demo-imgix.cachely.io/photos/hero.jpg?w=1200&auto=format
  • Asset providers have no CMS JSON SDK flow — there are no API entries, token injection, or AI transforms to configure. Focus on asset delivery, URL rewriting, and cache behavior.
Mode:Standard proxied request with edge cache

Request controls

No presets defined for this provider. Use the path and query fields to craft a request.

Original

https://my-source.imgix.net/photos/hero.jpg?w=1200&auto=format

Proxied (preview)

https://demo-imgix.cachely.io/photos/hero.jpg?w=1200&auto=format

Sends this request through demo-imgix.cachely.io. Cachely serves it from the edge, rewrites eligible asset URLs, and returns cache debug headers.

Fetch modes

Direct

Standard proxied request. Best for production traffic — the edge cache serves repeat reads.

Bypass Cache

Adds ?preview=1 so the proxy returns fresh content. Use for CMS preview/editor flows.

AI Transform

Not applicable — this provider integration does not support AI transforms.

Integration: Asset-only proxy — no API endpoints. AI transforms do not apply.

Asset reference
Asset URL
// Original
https://my-source.imgix.net/photos/hero.jpg?w=1200&auto=format
// Through Cachely (params preserved, edge-cached)
https://demo-imgix.cachely.io/photos/hero.jpg?w=1200&auto=format
Imgix — Asset-only proxy — Imgix rendering params pass through untouched. AI transforms do not apply.

SDK snippets

Imgix code examples

Copy-paste examples for Imgix. Pick a variant below.

The provider URL your app uses today.

Original asset URL
https://my-source.imgix.net/photos/hero.jpg?w=1200&auto=format