PuppyIP Resource Center
Cloud Operations 5 min read Published 2026-11-25

Why Is Cloudflare Polish Still Serving JPEG or WebP With AVIF On?

Cloudflare announced AVIF conversion for origin JPEG and PNG images in Polish on November 24, 2026. With AVIF enabled, Cloudflare still selects a format based on client support, cache and the conversion result. Start with the image's request and response headers.

Cloudflare Polish AVIF WebP Image optimization CDN cache

Service eligibility and regional restrictions

PuppyIP serves only compliant overseas businesses and their authorized personnel. Proxy services are not available in mainland China. The service may only be used for lawful business activities outside mainland China. Use of this service within mainland China is prohibited.

Hosting a proxy IP or server overseas does not change these restrictions. The service must not be provided to end users in mainland China through relaying, forwarding, sharing or resale. Before use, read the Terms of Service.

Key Takeaways

  • Polish can enable AVIF and WebP together, with AVIF preferred when the client advertises both.
  • Settings changes reach previously cached images once those entries expire or are purged.
  • Check Accept for client support, Content-Type for the delivered format, and Cf-Polished for the processing result.

Where do you enable AVIF for Polish?

Cloudflare lists Polish for Pro plans and higher. Select the zone in the dashboard and go to Speed > Settings > Image Optimization. Enable Polish in Lossy or Lossless mode according to your image requirements, then turn on AVIF.

The AVIF and WebP options can both be on. If you are applying Polish to one image hostname, use a Cloudflare configuration rule to scope it. Start with a static JPEG or PNG served directly by your origin and record the initial settings so you can compare results.

How do you check which format the browser received?

Find the image request in the network panel and check whether its Accept header includes image/avif. Then inspect response Content-Type. A response of image/avif identifies the actual format even if the URL still ends in .jpg or .png.

Use the same full image URL to compare an AVIF-capable client with one that supports WebP only. Polish prefers AVIF when the client supports both. Saving Accept and Content-Type together helps explain differences between browsers or cached responses.

Why did the response stay the same after you changed the setting?

A Polish setting change does not reprocess existing cached images. Wait for the old entry to expire or use Cloudflare's troubleshooting instructions to purge the single test image. Make a request from a client that advertises AVIF support.

Inspect Cf-Polished after retrieving the image again. If that header is absent, confirm the correct zone or hostname is enabled and verify that the origin sends an image Content-Type, cacheable Cache-Control and a supported Vary header. Cloudflare skips images when the origin returns a Vary header other than Vary: Accept-Encoding.

When does Polish keep the JPEG or PNG?

Cloudflare weighs the file size and image quality of a re-encoded image. An avif_bigger status means the conversion did not improve on the existing image. Try another static origin image and keep the response headers and request URL for comparison.

The documentation lists several image-specific limits. Images below 16 by 16 pixels and animated images do not get AVIF versions. Load can also temporarily prevent conversion on some requests. Start with a larger static JPEG or PNG before testing the image in question.

How can you test AVIF on a small set of product images?

Choose a main product image and a thumbnail. Keep each image URL and test client consistent. Record the original format, network transfer size and actual response type before and after the change. Inspect product text, details and colors as well as the number of bytes.

For individual images that still use WebP or the origin format, check Accept, Content-Type and Cf-Polished in that order and confirm that the cache refreshed. Cloudflare does not promise a fixed reduction for every image. Compare the sample before expanding the rollout.

Sources

Frequently Asked Questions

Do you have to turn off WebP to enable AVIF?

Both settings can be on. Polish uses client support and the compression result to select a format.

Why does Cf-Polished show avif_bigger when the browser supports AVIF?

Cloudflare determined that AVIF did not improve on the current image. Compare Content-Type on the same request and test another static JPEG or PNG.

Is clearing the browser cache enough?

If a Cloudflare cache entry still exists, wait for it to expire or purge that image from the edge cache, then check the response again.