On 6 October 2026, per the Chrome developer blog, Chrome 155 reportedly started advertising image/jxl in its Accept header, putting JPEG XL ahead of AVIF and WebP in the list of formats it will accept. Firefox 158 reportedly followed on 13 October. If your CDN or server does image content negotiation on the Accept header, the server now decides which format a growing share of your users get, and that decision just changed for a large share of visitors.
This article covers what changed, why the header is messier than it looks, where caching breaks, and a 15-minute audit to run on your own site. One note up front: the browser releases and measurements below are attributed reports from the cited sources, not things we've independently verified. Check the linked sources before acting on any specific number.
What changed in October 2026: image/jxl is now in the Accept header
According to the Chrome developer blog, Chrome 155 shipped JPEG XL decode support on 2026-10-06, including Chrome for Android, using the jxl-rs pure Rust decoder chosen for memory safety. It's decode-only, no encoding. The Chrome team claims 30–50% better compression than JPEG, lossless compression, HDR support, and lossless JPEG transcoding; those are vendor claims, not independent measurements.
A week later, Phoronix reported that Firefox 158, released 2026-10-13, enabled JPEG XL by default, having previously gated it behind an experimental option.
The concrete header change matters more than the decoder. As measured live in a TrafficServer issue:
- Chrome 154 sent:
image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8 - Chrome 155 sends:
image/jxl,image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8(jxl first, no q values) - Firefox 158 sends:
image/avif,image/jxl,image/webp,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5(jxl second, after AVIF) (MDN)
Support status per web-features: Safari has decoded JPEG XL since Safari 17 (2023-09-18). Edge does not support it, which keeps Baseline listed as "blocked since October 2026 by Chromium" — that's the web-features project's status, worth re-checking as Edge's stance evolves.
The trap: a browser can decode a format it doesn't advertise
Server-driven content negotiation means the server picks a representation based on what the client's Accept header says it wants. The header is a blunt instrument: as MDN puts it, the server never fully knows the browser's capabilities, and every extra dimension of negotiation makes shared caches less efficient.
That bluntness is exactly what bites here. Per MDN's default-Accept table, Safari's image Accept header is image/webp,image/png,image/svg+xml,image/*;q=0.8,video/*;q=0.8,*/*;q=0.5 — no image/jxl and no image/avif. So an Accept-based negotiator sends Safari the same fallback (WebP or JPEG) it always has, even though Safari 17+ can decode JPEG XL. That's a small loss rather than breakage, but it means JXL's Safari reach is invisible to any header-based system.
One caveat worth knowing: the TrafficServer issue claims every engine advertises jxl when support is on, which conflicts with MDN's Safari entry. One of them is wrong or version-dependent; until a primary WebKit source settles it, treat the MDN-documented header as the one your negotiator will actually see. The practical move: log the request header server-side and test with what your Safari build actually sends, rather than trusting either source. If Safari turns out to advertise jxl, nothing in your negotiator needs to change; if it doesn't, your audit should include Safari's real header, not a guessed one.
There's a worse case in the other direction: Edge doesn't decode JXL. Any pipeline that serves JXL by User-Agent sniffing, or that blanket-upgrades all clients to the newest format, risks shipping bytes Edge can't render. That's the strongest argument for negotiating on Accept rather than UA.
Two naming distinctions to keep straight:
- The Safari trap: a capable browser kept on a heavier fallback because its header doesn't advertise the capability.
- The Chrome/Firefox mismatch: Chrome puts jxl first, Firefox puts it second. A negotiator keyed on "first entry wins" will pick different formats for the two browsers.
Image content negotiation: what your negotiator does with the new header
Here's the key point most people miss: the new header carries no q-value ranking between jxl, avif and webp, so all three default to weight 1 under RFC 9110 §12.4.2. Your negotiator imposes the precedence, not the browser. A sensible default is jxl → avif → webp → original, but that's a choice, not an instruction from the header. Chrome's own guidance is to try both AVIF and JPEG XL, framing JXL as most useful for high-fidelity or lossless photographic compression and fine-grained progressive decoding.

What does that choice cost in practice? The same TrafficServer issue reports measurements on Cloudinary f_auto URLs across a Tranco top-50k snapshot from 2026-10-12:
- Of 237 sampled homepages, 28 served JPEG XL to Chrome 155 where Chrome 154 got AVIF or WebP.
- Format followed the header, not the User-Agent: with a Chrome 154 UA and Chrome 155 Accept, 144/144 images matched Chrome 155's formats.
- The median JXL file was 1.40× the Chrome 154 file — 1.43× vs AVIF, 0.97× vs WebP. For AVIF-capable clients, the swap made images larger.
That's one negotiator's pipeline, not a universal result, but it argues for putting avif ahead of jxl if raw bytes are your priority.
The ecosystem hasn't fully caught up either. media-delivery's Fastly VCL negotiator collapses Accept into three tokens (avif, webp, jpeg) with no jxl token yet (media-delivery). WebP Server Go only enables a format when it appears in Accept with q > 0, and sends Vary: Accept on every negotiated response (WebP Server docs). Popular tools lagging a browser release by weeks is normal, but it means defaults vary by vendor.
For an independent benchmark on JXL compression itself: Mintec's test on 564 real JPEGs found lossless JXL saved 22.9% (median 23.1%) with bit-exact restoration verified in 15/15 checks, lossy -d 4 saved 78.8%, versus WebP q80 at 70.5% and AVIF crf 30 at 82.2%. Mintec explicitly refuses to claim JXL beats AVIF on raw bytes.
The part that actually breaks: Vary: Accept and your cache
Under RFC 9111, any header listed in Vary becomes part of the cache key. If your origin varies on Accept but your CDN ignores Vary, one cached AVIF or JXL response can be served to a client that can't decode it. WebP Server Go's documentation is blunt: "Never cache only by URL while ignoring Accept."
Cloudflare's Vary for Images is a useful worked reference. It parses the request Accept header and caches each format variant separately, but it requires:
- The origin sends
Vary: Accept. - The format appears in the URL path extension, not the query string.
- The origin returns a matching image for no-Accept or
Accept: */*requests.
If the origin says Vary: Accept but doesn't actually serve the variant, the response is not cached; you'll see CF-Cache-Status: BYPASS. General Vary support is available via Cache Rules on all plans (Cloudflare blog). Cloudflare normalizes Accept before caching: lowercase types, strip whitespace, sort by q-value, strip parameters except q=0 (docs).
The normalization exists because raw Accept values explode cardinality. As Cloudflare's blog warns, treating every raw header value as distinct means "a handful of similar requests can spread into thousands of barely reusable cache entries". Bucket Accept into a few capability levels (jxl/avif/webp/legacy) instead.
If you're on AWS CloudFront with an image transformation stack, don't rely on origin Vary alone: include Accept in the cache policy and set fallback.format explicitly for browsers where auto-detection fails (AWS docs). The general web.dev guidance still applies: include every header you vary on in Vary, never Vary on Cookie, and don't key on connection-volatile hints like RTT (web.dev).
One failure mode to watch for: a variant cached before your Vary handling was enabled can keep being served after the CDN starts negotiating, because it sits under the old, URL-only cache key. The fix is a purge, covered in the audit below.
A 15-minute audit you can run today
This is a walkthrough using real commands; run it against your own image URLs.
Step 1 — detect whether negotiation happens at all:
curl -sI -H 'Accept: image/avif,image/webp,image/*,*/*;q=0.8' https://example.com/img.jpg | grep -iE 'content-type|content-length|vary'
Then repeat without -H (curl's default */* simulates a legacy client). Differing responses mean the CDN negotiates; identical responses mean everyone gets the original. This is the core method from a recent audit guide.
Step 2 — simulate Chrome 155 and Safari explicitly. Add image/jxl, to the front of the Accept header and diff content-type and content-length. Then send Safari's documented header (image/webp,image/png,image/svg+xml,image/*;q=0.8,...) and see which fallback it gets.
Step 3 — try multiple widths or resize params. Format can change with size; check whether resize params stay in the cache key.
Step 4 — check Vary handling. Confirm the response includes Vary: Accept, that the CDN forwards Accept to origin, and that each format variant has a distinct cache key.
Step 5 — don't trust DevTools-only numbers. Chrome DevTools shows what Chrome got. Old browsers, email clients and link previews may get the original file.
Step 6 — purge pre-negotiation entries if you enabled variant handling recently, and do not Vary on User-Agent or device type (extra variants with no benefit).
JPEG XL for JPEG recompression is the real win (and the tooling gap)
The most compelling JXL use case right now has nothing to do with the Accept header. libjxl can recompress existing JPEGs losslessly by repacking DCT coefficients, roughly 20% smaller and bit-for-bit restorable to the original JPEG. In the TrafficServer issue's example, cjxl -j 1 took an 837 KB JPEG down to 655 KB (~22%), and Mintec's broader test measured the median saving above with bit-exact restoration.
The trap inside the win: ImageMagick and libvips currently decode to pixels and don't use the DCT-repack path. In the cited example, a lossless encode from pixels produced 3.17 MB versus 655 KB. "Waiting for ImageMagick support" won't get you the benefit; you need cjxl or libjxl directly.
So our recommendation heading into 2027: use JXL for transcoding legacy JPEG libraries losslessly, not for replacing AVIF at typical web sizes. If you need a quick one-off format conversion or compression check without installing anything, Tool Cloud's image tools can do that — though JXL isn't among the supported formats (PNG, JPG, WebP, BMP, TIFF), so server-side JXL pipelines will need libjxl either way.
What to do now: a checklist
- Decide precedence consciously. Choose your negotiator's jxl vs avif vs webp order yourself rather than inheriting your CDN's default, and document that the header carries no q-ranking.
- Fix caching before chasing formats. Verify the CDN forwards Accept, honors
Vary: Accept(or adds normalized Accept to the cache key), and keeps resize params in the key. WebP Server Go's fallback ladder if your CDN can't: honor Vary, else normalized Accept in the key, else bypass caching / returnCache-Control: private. - Purge image responses cached before variant handling was enabled.
- Don't serve JXL by UA sniffing (Edge can't decode it), and don't Vary on UA or device type.
- Adopt JXL deliberately. Prioritise it for lossless JPEG recompression via cjxl/libjxl; treat replacing AVIF as an open question given the 1.40× median penalty measured in one pipeline versus Chrome's framing around high-fidelity and progressive use cases.
- Expect churn: re-run the audit after each browser release.
The image content negotiation layer you set up for WebP and AVIF mostly still works. What changed this month is which browser sends which header, and that your negotiator now has a fourth format to rank. Check the cache first — that's where the bugs will live.
Meta description: Chrome 155 and Firefox 158 added image/jxl to their Accept headers, so your CDN now picks the format for more users. How the header works, what Vary: Accept means for your cache, and a 15-minute audit you can run on your own image URLs.
Frequently asked questions
How do I test which format my site actually serves to each browser?
Use curl with explicit Accept headers — one mimicking Chrome 155 (with image/jxl first), one mimicking Safari — and compare Content-Type, Content-Length and Vary. Try several image widths too; format can change with size.
Will my CDN cache one format for everyone if I don't set Vary: Accept?
It can. Vary: Accept puts the header into the cache key per RFC 9111. Without it — or explicit Accept handling in your CDN's cache rules — a cached AVIF or JXL response can be served to a browser that can't decode it.
Is it worth serving JPEG XL now?
For lossless recompression of legacy JPEGs, yes: measured savings are around 20–23% with bit-exact restoration. For replacing AVIF at typical web sizes, the data is not there — one negotiator measured JXL files 1.40× the AVIF they replaced at the median.
Why does Safari get a different format than Chrome?
Because Safari's Accept header doesn't advertise image/jxl (or image/avif), so Accept-based negotiation serves it WebP or the original — even though Safari 17+ can decode JPEG XL. Fixing it server-side isn't possible; you'd need client-side negotiation instead.
Do I need to change my WebP or AVIF pipeline?
Only if your format precedence or cache key logic assumed the old header. Verify your negotiator's precedence rule and your CDN's Vary/Accept handling now, and purge pre-negotiation cache entries if you changed variant handling recently.