Cloudflare Docs
Cloudflare Image Optimization
Edit this page on GitHub
Set theme to dark (⇧+D)

Activate Polish

Images in the cache must be purged or expired before seeing any changes in Polish settings.

  1. Log in to the Cloudflare dashboard and select the account and domain where you want to activate Polish.
  2. Go to Speed > Optimization > Image Optimization.
  3. Under Polish, select Lossy or Lossless from the drop-down menu. Lossy gives greater file size savings.
  4. (Optional) Select WebP. Enable this option if you want to further optimize PNG and JPEG images stored in the origin server, and serve them as WebP files to browsers that support this format.

To ensure WebP is not served from cache to a browser without WebP support, disable any WebP conversion utilities at your origin web server when using Polish.