Image optimization

Start with one source image. Request the width, crop and output format a layout needs, then serve subsequent requests for that variant from cache.

Resize and encode images on request

Keep a single source image. Cloud CDN converts to WebP or AVIF, resizes and crops from query strings, then caches each variant at the edge.

Choose a delivery format

WebP and AVIF conversion happens at the edge from one source file.

Layout-specific sizes from a URL

Resize and crop through query strings instead of storing every breakpoint.

Variants cached globally

The edge can reuse a variant when another request matches its cache key.

Configuration

Cloud CDN overview
  1. Point the media origin at Cloud CDN

    CMS uploads, a files host or an application disk over HTTPS.

  2. Enable conversion and resize

    Turn on WebP/AVIF and query-string geometry for the media hostname.

  3. Update templates to request sizes

    Product cards, heroes and OG images can each ask for the width they need.

  4. Cache and purge by source URL

    When the original changes, purge it so variants rebuild.

Operational outcomes

  • One source image supports every layout
  • WebP and AVIF are created at the edge
  • Derived files are cached worldwide
  • Replaced originals can be purged

Frequently asked questions

Do browsers that lack AVIF still work?

Serve a compatible format for the client. Conversion is a delivery-time choice, not a stored-only format.

Can I still use a CMS image plugin?

Yes. Many teams keep the CMS as the source and let Cloud CDN handle output formats and sizes.

Is quality configurable?

Yes. Balance visual fidelity against page weight per template rather than one global derivative.

Does this replace a DAM?

No. A DAM still stores rights and originals. Cloud CDN is the delivery and transformation layer.