Image Optimization

Overview

Kontenum provides a built-in Image Optimization feature that is available at no additional cost. This feature is designed to automatically optimize and deliver images in the most efficient format supported by the end user's browser, improving performance and reducing bandwidth costs without sacrificing visual quality.

Image optimization runs on the fly at the CDN level and requires no changes to your application or image upload workflow.


How It Works

When Image Optimization is enabled, Kontenum CDN automatically detects browser capabilities and serves the most optimal image format using the following priority order:

  1. AVIF
    If the browser supports AVIF, Kontenum will automatically deliver the image in AVIF format.

  2. WebP
    If AVIF is not supported but WebP is supported, the image will be delivered in WebP format.

  3. Optimized Original Format
    If neither AVIF nor WebP is supported, Kontenum will serve an optimized version of the original image format (for example, optimized JPEG or PNG).

This process is fully automatic and transparent to both developers and end users.


Disabling Image Optimization

You can disable Image Optimization at any time from Sites Configuration in the Kontenum Console.

Image Optimization Setting

  • When enabled: Kontenum CDN serves optimized images (AVIF / WebP / optimized original).
  • When disabled: Kontenum CDN serves the raw original file exactly as uploaded.

This allows full control for debugging, testing, or specific compatibility requirements.


Size Reduction Example

Below is a real-world comparison using the same image at the same visual quality:

  • Original JPEG Original JPEG Resolution: 4032 × 2268 pixels File size: 4.6 MB

  • Optimized Formats Delivered by Kontenum CDN (Avif) Optimized AVIF Resolution: 4032 × 2268 pixels File size: 366 KB

Optimized Results

Format File Size Size Reduction
AVIF 366 KB ~92.0% smaller
WebP 568 KB ~87.7% smaller
Optimized JPEG 963 KB ~79.1% smaller

Benefits

  • Lower bandwidth and storage costs
  • Faster page load times
  • Same visual quality with significantly smaller files
  • Automatic browser compatibility handling
  • Zero configuration and zero additional cost

By reducing average image size by up to 90%, Image Optimization directly improves CDN efficiency while delivering a faster experience for your users.