Image optimization Overview

What is image optimization?

Image optimization is the process of modifying and delivering high-quality images in the optimal format, dimensions, and resolution for the device accessing them. Resizing, compressing, and selecting the right file formats, it dramatically reduces image file sizes without compromising visual quality. Unoptimized images are unnecessarily large, forcing users to download extra data. Optimizing images helps your pages load faster, which improves the user experience and keeps visitors on your website longer.

Cloud CDN image optimization lets you dynamically transform your images. Image optimization offloads compute-intensive image transformations from your origin servers, which reduces compute and data egress costs while improving page load times and SEO rankings.

This page describes how to configure Cloud CDN image optimization to process and deliver images directly from the network edge.

Image optimization lets you use explicit URL query parameters for granular, real-time control over image attributes, such as resizing, cropping, and format conversion.

Image optimization is an output caching solution. The service processes an image on its first request for a specific transformation and caches the resulting variant at the edge. Subsequent requests for the same parameters are served directly from the CDN cache.

Key benefits

  • Enhanced web performance: delivers resized, high-quality images directly from Google's global edge network, reducing Page Load Time and Time to Interactive (TTI).

  • Lower Total Cost of Ownership (TCO): on-the-fly transformations significantly reduce egress bandwidth costs by serving lighter, highly compressed images.

  • Secure image transformations: prevents unauthorized image tampering, DDoS exploits, or compute-draining requests through seamless integration with Service Extensions and Cloud CDN Signed URLs.

Use the following guides to get started with Cloud CDN image optimization: