Cloudflare Polish AVIF from 24 Nov 2026: format choice, fallbacks and LCP

Turn on Polish lossy plus AVIF and WebP on a Pro zone, check Cf-Polished on real hero images, and fix TTFB and render delay before expecting LCP gains.

Read time
16 min
Word count
2.6K
Sections
10
FAQs
8
Share
Web-performance engineer comparing two printed product photos beside a laptop and monitor, with Cloudflare Polish AVIF title
On this page · 10 sections
  1. What Cloudflare shipped on 24 November
  2. How Polish chooses between AVIF, WebP and the original
  3. Browser support and the fallback path
  4. Where Polish skips your image, and how to tell
  5. What it means for LCP
  6. Polish or Cloudflare Images transformations?
  7. A rollout plan for catalogue and news sites
  8. India-specific considerations
  9. How eCorpIT can help
  10. References

Summary. On 24 November 2026 Cloudflare added AVIF output to Polish, its zone-wide image optimiser, so JPEG and PNG files served from your origin can now reach browsers as AVIF alongside the WebP conversion Polish already did. AVIF is a separate avif setting that you switch on, it only acts when Polish is in lossless or lossy mode, and Polish itself is available only on the Pro plan and above; Pro costs $20 a month billed annually or $25 billed monthly. The format rules are strict: AVIF goes out only when the browser lists it in the Accept header and the AVIF file is smaller than the original; when a browser accepts both formats, AVIF wins; everyone else gets WebP or the optimised original. Polish also skips AVIF for images under 16 by 16 pixels, for animations, and when AVIF capacity is short during busy periods. This matters because images are the LCP element on 85.3% of desktop pages and 76% of mobile pages, and 57% of LCP images are still JPEG. Our verdict: turn it on for catalogue and news zones, then measure, because a smaller file only shortens one of the four parts of LCP.

About this article. This is for engineering leads, ecommerce and publishing teams, and agencies running image-heavy sites behind Cloudflare, in India, the US, the UK and elsewhere. On 28 November 2026 we checked every setting, status, limit, price and percentage here against Cloudflare's changelog, Polish, Images and plans pages, web.dev's LCP guidance, HTTP Archive's Web Almanac, Can I use, MDN and the ECB reference rates. This is technical guidance, Cloudflare changes plans and prices, and no vendor paid for inclusion. Researched with AI assistance and checked against the primary sources listed in the references.

What Cloudflare shipped on 24 November

The changelog entry is short. Polish can now create AVIF versions of JPEG and PNG images that come from your origin, alongside its existing WebP conversion, and Cloudflare aims it at product catalogues, photo galleries and news sites. Polish still does its older jobs too: it strips metadata, recompresses, and optimises images in Cloudflare's cache on the same image URLs, so you change no markup.

Three settings control Polish, and each can be set from the Cloudflare CLI, the dashboard or the REST API's edit zone setting endpoint:

  • polish takes off, lossless or lossy. The default is off.
  • avif takes on or off and only acts when polish is not off.
  • webp takes on or off, with the same condition.

AVIF and WebP can be on together, which is the combination Cloudflare's own example uses. In the dashboard the controls sit under Speed > Settings > Image Optimization.

Two points the changelog does not stress. First, nothing changes on a zone until someone turns avif on. Second, changing Polish settings does not touch images already in Cloudflare's cache, which keep being served until they expire or you purge them. Plan the purge, because it sends traffic back to your origin.

How Polish chooses between AVIF, WebP and the original

Polish weighs four things for every image: the source format, what the browser accepts, the output size and the visual quality. The table below sets out the outcomes, drawn from Cloudflare's configure page and its two skip pages.

Situation What Polish serves
Browser accepts AVIF and WebP, AVIF is smaller than the original AVIF
Browser accepts AVIF and WebP, AVIF is not smaller WebP if that helps, otherwise the optimised original
Browser accepts WebP only WebP if smaller and good enough, otherwise the optimised original
Browser accepts neither Optimised JPEG or PNG
Image smaller than 16 by 16 pixels No AVIF; WebP or original
Animated GIF or animated PNG No AVIF; WebP or original
AVIF capacity short at that moment No AVIF for that request; WebP or original
Origin sends Vary other than Accept-Encoding Polish does nothing

Which sources convert to what

Not every input can become every output. Cloudflare's conversion table is precise, and Polish does not optimise WebP images that your origin already serves:

Source To AVIF To WebP
JPEG Yes Lossy mode only
PNG Yes Yes
GIF No Yes
WebP No No
AVIF No No

The JPEG row is the one most teams miss. In lossless mode Polish will not change pixels, so it never turns a JPEG into lossy WebP. The configure page lists AVIF as allowed for JPEG with no mode condition, yet the same page says lossless mode avoids any optimisation that changes pixels. Cloudflare does not spell out how the two interact, so test a sample on a lossless zone before assuming JPEG product shots will come out as AVIF. For most catalogue and news zones, lossy is the mode to use anyway.

The size rule

Polish never makes a file bigger. If the AVIF is not smaller than the original, it keeps the original format, and the same rule has always applied to WebP. Polish also declines conversions that would cost too much quality for the bytes saved. Badly compressed sources gain little: JPEGs saved at low quality, or re-saved many times, carry artefacts that AVIF and WebP spend bytes preserving, so the conversion often loses. Cloudflare's advice for WebP applies here too: save new JPEGs at quality 85 to 95, not higher, and switch off any lossy optimiser at the origin, because stacked lossy steps hurt quality more than they save size.

What the averages say

Cloudflare publishes averages for the older modes but not for AVIF. Lossless Polish cuts file sizes by 21% on average and lossy by 48%; WebP conversion cuts PNGs by 26% and JPEGs by 17%. For AVIF, Cloudflare says only that it typically produces smaller files than WebP. Can I use describes AVIF as generally compressing better than WebP, JPEG, PNG and GIF. Treat any AVIF saving figure quoted for Polish as unconfirmed until Cloudflare publishes one or you measure your own.

Browser support and the fallback path

Polish does not sniff user agents. It reads the Accept header on the image request and serves AVIF or WebP only if that format is listed. So the question is what each browser sends.

Can I use puts full AVIF support at 96.69% of global usage: Chrome from 85, Firefox from 93, Edge from 121, Safari on iOS from 16.0 and Safari on macOS fully from 16.4, with 16.1 to 16.3 partial and limited to macOS 13 or later. Its data puts WebP support at 97.24%. On the header side, MDN's table shows Chrome and Edge from version 121 sending image/avif,image/webp first for images, and Firefox from 92 doing the same. MDN's Safari row still shows a value with WebP and no AVIF. A January 2026 issue on the Fetch Standard, though, reports that Chrome, Firefox and Safari all now add both AVIF and WebP to the image Accept header, and that live sites depend on this for Cloudflare's image re-encoding. Our reading: current Safari probably asks for AVIF, but check on an iPhone against your own site before you rely on it.

The fallback ladder is therefore simple. A browser that lists AVIF gets AVIF where it is smaller. A browser that lists only WebP gets WebP where it is smaller and good enough. Anything else gets an optimised JPEG or PNG, at the same URL. You do not need a picture element with three sources for Polish to work, which is the main practical difference from doing format negotiation yourself.

Where Polish skips your image, and how to tell

The Cf-Polished response header is the reliable way to know what happened. Cloudflare's troubleshooting page lists the values; the ones that matter for this release are below.

Status Meaning What to do
avif_bigger AVIF was tried and was not better Check source quality; nothing to fix if the original is lean
avif_overloaded AVIF capacity was temporarily unavailable Retry later; it can succeed once demand drops
webp_bigger WebP was tried and was not better Same as avif_bigger
vary_header_present Origin sent a Vary value other than Accept-Encoding Stop origin format negotiation and let Polish do it
input_too_large Image too large or complex Keep sources under 20 MB and under 4,000 pixels per side
format_not_supported BMP, TIFF or an incompatible origin optimiser Serve JPEG or PNG and disable the origin optimiser
not_compressed or not_needed Already fully optimised at origin No action

Cloudflare's diagnosis order is: confirm polish is on, confirm avif or webp is on, purge the single file, confirm the request's Accept header lists the format, then read Cf-Polished. If the header is missing after a purge, check that the origin returns an image Content-Type, a cacheable Cache-Control value and a supported Vary header.

A quick check from a terminal, sending the header a modern browser sends for images:


            curl -sI -H "Accept: image/avif,image/webp,*/*" https://www.example.com/images/hero.jpg \
  | grep -iE "content-type|content-length|cf-polished|cf-cache-status"
          

Run it twice, because the first request may only warm the cache. You want content-type: image/avif on a JPEG URL. Repeat with Accept: image/webp,*/* and with Accept: */* to confirm the WebP and original fallbacks.

The capacity caveat in peak season

The launch landed three days before Black Friday on 27 November, and Cyber Monday falls on 30 November. Cloudflare says AVIF encoding needs more compute than Polish's other options, that during periods of high demand Polish may skip AVIF for some requests, and that it may use faster, less thorough AVIF settings, which can give a larger AVIF than usual, though still smaller than the original. In plain terms, AVIF coverage may dip when traffic peaks. The fallback is WebP or the optimised original, so nothing breaks, but do not read a quiet afternoon test as the result you will get under load.

What it means for LCP

Largest Contentful Paint should be 2.5 seconds or less at the 75th percentile of page loads, segmented across mobile and desktop. Web.dev splits every LCP into four parts: time to first byte, resource load delay, resource load duration and element render delay. Its guideline for a healthy page is roughly 40% TTFB, under 10% load delay, roughly 40% load duration and under 10% render delay.

AVIF only shrinks one of those four: resource load duration. Web.dev's worked example shows the trap. On a page that hides the LCP element until JavaScript finishes, a smaller image just moves the waiting from load duration into render delay, and LCP does not improve.

Why image-heavy sites still stand to gain

The opportunity is large where LCP is an image in a legacy format. HTTP Archive's 2025 Web Almanac found images as the LCP content on 85.3% of desktop pages and 76% of mobile pages; 57% of LCP images were JPEG, 26% PNG, 11% WebP and AVIF only 0.7%. JPEG and PNG are exactly the two formats Polish can now turn into AVIF. The 2024 Media chapter put AVIF at about 1% of all images on mobile pages, against 32.4% JPEG and 28.4% PNG.

An illustrative sum, using Cloudflare's published lossy average rather than any AVIF figure. A 300 KB hero JPEG on a 5 Mbps connection (625 KB a second) takes 300 ÷ 625 = 0.48 seconds to download. Cut 48% and it is 156 KB, or 156 ÷ 625 = 0.25 seconds, about 0.23 seconds back. Real downloads also pay for connection set-up and TCP ramp-up, so treat this as the shape of the gain, not a promise. If AVIF beats the lossy JPEG on your images, the saving grows; measure it.

Fix the other three parts first

Format is rarely the biggest lever on its own. Three cheaper fixes often matter more:

  1. Make the LCP image discoverable. Put it in the HTML as an img with a real src, not a CSS background or a lazy-loaded JavaScript swap, so resource load delay stays near zero.
  1. Raise its priority. Setting the fetchpriority attribute to high on the LCP image cut LCP from 2.6 to 1.9 seconds in web.dev's Google Flights test.
  1. Serve it from the page's own origin. Web.dev notes that a third-party image host adds a connection cost, which is one reason a same-URL optimiser such as Polish suits LCP images.

Then look at TTFB, which web.dev says can make a 2.5 second LCP hard or impossible on its own. If your HTML is slow, edge caching of HTML will do more than any image format. Our Core Web Vitals write-up covers the field data side, and if you use Cloudflare Web Analytics, read our note on how SPA navigations changed pageview counts before comparing before-and-after numbers.

Polish or Cloudflare Images transformations?

Cloudflare has two image paths, and they should not be stacked on the same URL. The table draws on Cloudflare's Polish, plans, features and Images pricing pages.

Question Polish Images transformations
Changes image URLs No Yes, new URLs
Resizes and crops No Yes
Picks AVIF or WebP Yes, from Accept Yes, with format=auto
Plans Pro, Business, Enterprise Images Free plan up to 5,000 unique transformations a month
Extra cost None beyond the plan $0.50 per 1,000 unique transformations after 5,000 on Images Paid

Polish skips any URL already processed by Images, so the two do not double-compress. The features page also warns that AVIF encoding through transformations can be an order of magnitude slower than other formats, with a fallback to WebP or JPEG when an image is too large to encode quickly.

Our rule of thumb: Polish is the right first step for an existing site with origin images at sensible sizes, because it is a toggle. Transformations come next, when the real problem is a 3,000 pixel product photo sent to a 400 pixel phone slot, which no format change fixes. Teams on frameworks with their own image pipelines, such as those in our Astro 6 vs Next.js 16 comparison, should pick one optimiser rather than run two.

A rollout plan for catalogue and news sites

  1. Confirm the plan. Polish is not on the Free plan. Pro is $20 a month billed annually or $25 monthly, about ₹1,860 or ₹2,325 at ₹93.00 per dollar, the ECB cross rate of 27 November 2026 rounded to two decimals.
  1. Check the origin. Look for an origin plugin or CDN rule that converts to WebP or sends Vary: Accept. Either blocks or degrades Polish; switch it off.
  1. Set the mode. Use lossy for photo-heavy catalogues and news. Keep lossless only where pixel-exact output is a requirement, and accept fewer JPEG conversions.
  1. Turn on both formats. avif on and webp on, so browsers without AVIF still get WebP.
  1. Scope it if you must. A configuration rule can apply Polish to chosen hostnames, such as a media subdomain, instead of the whole zone.
  1. Purge in stages. Settings do not affect cached images. Purge your top LCP images first, off-peak, and watch origin load before a full purge. In a sale week, wait.
  1. Verify with headers. Sample 20 to 50 high-traffic images with the curl check above and record the Cf-Polished mix.
  1. Measure field LCP, not lab scores. Compare the 75th percentile before and after, by device.

For sale-traffic patterns more broadly, see our piece on ecommerce system design for flash sales.

India-specific considerations

For Indian ecommerce and news readers on Android phones and mobile data, the picture is good: Chrome lists AVIF in its image Accept header, so most of that traffic is eligible for AVIF once the setting is on. Smaller images also cut data per page, which matters to readers on capped prepaid plans. Three cautions. First, the Pro plan is priced in dollars, so budget at the day's rate rather than a fixed rupee number. Second, many Indian catalogue sites run WordPress or WooCommerce plugins that already convert to WebP at the origin; if they send a Vary header beyond Accept-Encoding, Polish reports vary_header_present and does nothing, and if they hand over pre-compressed files, Polish has little left to save. Third, Polish removes most metadata such as EXIF, which lowers the chance of leaking location details in user-uploaded photos, but Cloudflare says it cannot guarantee all metadata is removed.

How eCorpIT can help

eCorpIT is a Gurugram-based technology organisation, founded in 2021, assessed at CMMI Level 5 and MSME certified, with senior-led engineering teams working across AWS, Microsoft and Google platforms. Our application development services team can audit your origin image pipeline, switch on Polish with AVIF and WebP, stage the cache purge around peak traffic and measure field LCP before and after. Talk to us at /contact-us/.

Last updated: 28 November 2026.

References

  1. Automatic AVIF conversion with Polish, 24 November 2026 — Cloudflare changelog
  1. Configure Polish, updated 24 November 2026 — Cloudflare Images documentation
  1. Cloudflare Polish — Cloudflare Images documentation
  1. Plans and pricing — Cloudflare
  1. AVIF may be skipped, updated 24 November 2026 — Cloudflare Images documentation
  1. Performance, Web Almanac 2025 — HTTP Archive
  1. Optimize Largest Contentful Paint — web.dev
  1. WebP may be skipped — Cloudflare Images documentation
  1. AVIF image format — Can I use
  1. WebP image format, support data file — Can I use (GitHub)
  1. List of default Accept values — MDN Web Docs
  1. Accept header for image destination should be updated for modern image formats, Fetch issue 1905, 7 January 2026 — W3C public-webapps-github archive
  1. Troubleshooting Polish — Cloudflare Images documentation
  1. Largest Contentful Paint (LCP) — web.dev
  1. Media, Web Almanac 2024 — HTTP Archive
  1. Optimize resource loading with the Fetch Priority API — web.dev
  1. Image optimization features: format — Cloudflare Images documentation
  1. Pricing — Cloudflare Images documentation
  1. Euro foreign exchange reference rates, 27 November 2026 — European Central Bank

Frequently asked

Quick answers.

01 What did Cloudflare change in Polish on 24 November 2026?
Polish can now convert JPEG and PNG images from your origin into AVIF, alongside its existing WebP conversion. You enable it with a new avif setting while Polish is in lossy or lossless mode. Browsers that ask for AVIF get it when it is smaller; others get WebP or the optimised original.
02 Is AVIF in Polish switched on automatically?
No. The avif setting is opt-in, and Polish itself is off by default. You turn it on in the dashboard under Speed, Settings, Image Optimization, through the Cloudflare CLI or through the edit zone setting API. Images already in the cache are unchanged until they expire or you purge them.
03 How does Polish decide between AVIF and WebP?
It reads the Accept header on each image request. If the browser lists both formats, Polish prefers AVIF, provided the AVIF file is smaller than the original and quality holds. If AVIF is not smaller, or the browser lists only WebP, it tries WebP. Otherwise it serves an optimised JPEG or PNG.
04 Which browsers will receive AVIF from Polish?
Browsers that list image/avif in their image Accept header. MDN shows Chrome and Edge from version 121 and Firefox from 92 doing so, and a January 2026 Fetch Standard issue reports Safari now does too. Can I use puts full AVIF support at about 97% of global usage. Test on your own devices.
05 Why does Cf-Polished show avif_bigger on some images?
Polish tried AVIF and the result was not smaller or not good enough, so it kept the original or WebP. This is common with JPEGs already saved at low quality or re-saved many times. Save new sources at JPEG quality 85 to 95 and disable lossy optimisers at the origin to give Polish headroom.
06 Will turning on AVIF fix a slow Largest Contentful Paint?
Only partly. A smaller image shortens resource load duration, one of four LCP parts. If time to first byte is slow, the image is discovered late, or JavaScript delays rendering, LCP barely moves. Make the hero image discoverable, give it high fetch priority and check TTFB alongside the format change.
07 Does Polish AVIF cost extra on top of the Cloudflare plan?
Cloudflare lists no separate charge for Polish or its AVIF setting; Polish comes with the Pro, Business and Enterprise plans. Pro costs $20 a month billed annually or $25 monthly. Cloudflare Images transformations are a different product with their own free allowance and per-transformation pricing on the Images Paid plan.
08 Can Polish and Cloudflare Images transformations run on the same image?
No. Polish skips image URLs already processed by Cloudflare Images, which can choose AVIF or WebP itself when the format option is set to auto. Use Polish for existing origin images at sensible sizes, and transformations when you also need resizing or cropping for different screen widths.

About the author

Manu Shukla

Founder & Director

Founder of eCorpIT. Hands-on engineer leading senior-only delivery for AI apps, custom software, and cloud systems for global clients.

Subscribe

One engineering note a week. No fluff, no spam.

Senior-architect playbooks on AI agents, mobile apps, cloud, security, data, and marketing — delivered every Wednesday.

Past the reading

Read enough. Let's build something.

A senior architect responds in 24 working hours with scope, indicative cost, and a timeline. NDA before any technical conversation.

Weekly engineering notes

Enjoying this article? Get one like it every Wednesday.

Senior-architect playbooks on AI agents, mobile apps, cloud, security, data and marketing. Unsubscribe in one click.

We email a link to confirm your address. Privacy

Loading search…

Browse all guides