Skip to main content
Journal

PerformancePrimeCode WebWorks7 min readNov 23, 2026

AVIF, JPEG XL or WebP: best image format for ecommerce in the Philippines

Chrome and Firefox now read JPEG XL. Here is the image format plan we use for Philippine online stores — AVIF first, JPEG XL where it wins, and a safe fallback.

PerformanceE-commerceWeb Development
A photographer sets up a small product photoshoot on a table in a studio with lights and props.

Product photos are most of what a shopper downloads. Chrome and Firefox now both open JPEG XL files, so owners are asking us again which is the best image format for ecommerce: switch to JPEG XL, stay on WebP, or move to AVIF before the Christmas rush?

Our answer: AVIF as the default, JPEG XL only where it clearly wins, and a fallback chain so nobody sees a broken image.

What changed in October 2026

  • Chrome 155 (6 October 2026) ships JPEG XL decoding. Google says it compresses 30–50% better than JPEG, and still tells developers to try both AVIF and JPEG XL.
  • Firefox 158 (13 October 2026) turned JPEG XL on by default.
  • Safari has shown still JPEG XL images since Safari 17 in 2023.
  • Edge is the gap. As of October 2026, Edge had not enabled JPEG XL and Microsoft had given no date.

AVIF is further along: since July 2026 it counts as “widely available” on the web platform’s Baseline list, Edge included.

Why photo weight matters in the Philippines

Most shoppers open your store on a mid-range Android over mobile data, often from a Shopee or Facebook link. Say a product page has 12 photos at 300 KB each. That is 3.6 MB before any code loads — on a weak signal in a Laguna subdivision, the difference between scrolling and leaving.

The bigger picture is in mobile-first websites for Philippine traffic and why speed affects revenue.

The best image format for ecommerce, compared

Format Support (as of October 2026) Best at Our role for it
AVIF Chrome, Edge, Firefox, Safari Small files at web quality Default
JPEG XL Chrome 155+, Firefox 158+, Safari 17+; not Edge as of October Detail, lossless, shrinking old JPEGs Optional, tested first
WebP All current browsers Flat graphics Middle fallback
JPEG Everything Compatibility Last fallback and masters

The tests we have read agree: at typical web quality, AVIF usually makes the smaller file. JPEG XL can repack an existing JPEG about 20% smaller and restore it byte for byte — great for an archive of masters, rarely decisive for a ₱499 shirt on a phone screen.

The fallback chain we use

A <picture> element lets each browser take the first format it can read:

  1. AVIF first
  2. JPEG XL, only where testing shows it beats AVIF (zoomable detail shots, fabric, jewelry)
  3. WebP for older devices
  4. JPEG as the plain <img> that always works

Edge users skip JPEG XL and get AVIF. If Microsoft adds support later, nothing needs to change.

Serving it from a Nuxt store without re-uploading

You do not need to re-upload your catalog. Keep the original JPEGs as masters; the site generates other formats on request.

  • In Nuxt, <NuxtPicture format="avif,webp"> writes the <picture> markup and adds the fallback for you.
  • Nuxt Image does not list JPEG XL as an output yet. If your image CDN or build step can produce .jxl, add that source by hand on the few templates where it pays.
  • Clean the masters first. One audit found 34 of 598 “.jpg” files were really PNGs, and fixing them saved more than the whole JPEG XL switch.

This is routine in our e-commerce builds: change one image component, not 2,000 listings.

How to measure the gain

Measure your own product pages:

  • Total image bytes on your top 10 product pages, before and after
  • Largest Contentful Paint on a real mid-range Android, not only desktop Lighthouse (what a 95 score really means)
  • Add-to-cart rate over two comparable weeks

If bytes drop but pages still feel slow, check scripts, fonts or the server.

When to wait

  • Your photos sit on a platform you do not control, like marketplace listings. Let the platform decide.
  • You have fewer than 50 products and pages load fine. Compress and move on.
  • You are a week from a 12.12 sale. Do not touch image delivery during a freeze (our 12.12 readiness checklist).

Straight next step

Send us three of your busiest product pages and tell us where your photos live now. We will measure the image weight, say whether to switch to AVIF now or add JPEG XL later, and say so if the problem is elsewhere. Start here.

Related

More from the journal.

Start

Building something similar?

Tell us what you are planning — a founder or studio lead replies within one business day.