[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"blog-product-image-formats-avif-jpeg-xl-philippine-stores":3,"blog-nav-product-image-formats-avif-jpeg-xl-philippine-stores":26},{"slug":4,"title":5,"description":6,"body":7,"category":8,"readTime":9,"tags":10,"coverImage":13,"coverImageAlt":14,"heroImage":15,"heroImageAlt":14,"metaTitle":16,"metaDescription":17,"ogImage":18,"noindex":19,"published":20,"publishAt":21,"sortOrder":22,"updatedAt":21,"status":23,"path":24,"bodyHtml":25},"product-image-formats-avif-jpeg-xl-philippine-stores","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.","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?\n\nOur answer: **AVIF as the default, JPEG XL only where it clearly wins, and a fallback chain so nobody sees a broken image.**\n\n## What changed in October 2026\n\n- **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.\n- **Firefox 158** (13 October 2026) turned JPEG XL on by default.\n- **Safari** has shown still JPEG XL images since Safari 17 in 2023.\n- **Edge** is the gap. As of October 2026, Edge had not enabled JPEG XL and Microsoft had given no date.\n\nAVIF is further along: since July 2026 it counts as **“widely available”** on the web platform’s Baseline list, Edge included.\n\n## Why photo weight matters in the Philippines\n\nMost 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.\n\nThe bigger picture is in [mobile-first websites for Philippine traffic](\u002Fblog\u002Fmobile-first-websites-philippines) and [why speed affects revenue](\u002Fblog\u002Fwebsite-speed-affects-revenue).\n\n## The best image format for ecommerce, compared\n\n| Format | Support (as of October 2026) | Best at | Our role for it |\n|--------|------------------------------|---------|-----------------|\n| **AVIF** | Chrome, Edge, Firefox, Safari | Small files at web quality | Default |\n| **JPEG XL** | Chrome 155+, Firefox 158+, Safari 17+; not Edge as of October | Detail, lossless, shrinking old JPEGs | Optional, tested first |\n| **WebP** | All current browsers | Flat graphics | Middle fallback |\n| **JPEG** | Everything | Compatibility | Last fallback and masters |\n\nThe 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.\n\n## The fallback chain we use\n\nA `\u003Cpicture>` element lets each browser take the first format it can read:\n\n1. **AVIF** first\n2. **JPEG XL**, only where testing shows it beats AVIF (zoomable detail shots, fabric, jewelry)\n3. **WebP** for older devices\n4. **JPEG** as the plain `\u003Cimg>` that always works\n\nEdge users skip JPEG XL and get AVIF. If Microsoft adds support later, nothing needs to change.\n\n## Serving it from a Nuxt store without re-uploading\n\n**You do not need to re-upload your catalog.** Keep the original JPEGs as masters; the site generates other formats on request.\n\n- In Nuxt, `\u003CNuxtPicture format=\"avif,webp\">` writes the `\u003Cpicture>` markup and adds the fallback for you.\n- 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.\n- 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.\n\nThis is routine in our [e-commerce builds](\u002Fservices\u002Fecommerce-website-development): change one image component, not 2,000 listings.\n\n## How to measure the gain\n\nMeasure your own product pages:\n\n- **Total image bytes** on your top 10 product pages, before and after\n- **Largest Contentful Paint** on a real mid-range Android, not only desktop Lighthouse ([what a 95 score really means](\u002Fblog\u002Fwhat-95-lighthouse-actually-means))\n- **Add-to-cart rate** over two comparable weeks\n\nIf bytes drop but pages still feel slow, check scripts, fonts or the server.\n\n## When to wait\n\n- Your photos sit on a platform you do not control, like marketplace listings. Let the platform decide.\n- You have fewer than 50 products and pages load fine. Compress and move on.\n- You are a week from a 12.12 sale. Do not touch image delivery during a freeze ([our 12.12 readiness checklist](\u002Fblog\u002F12-12-christmas-online-store-readiness-philippines)).\n\n## Straight next step\n\nSend 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](\u002Fcontact).","Performance",7,[8,11,12],"E-commerce","Web Development","\u002Fimages\u002Fjournal\u002Fproduct-image-formats-avif-jpeg-xl-philippine-stores-cover.webp?v=20261013b","A photographer sets up a small product photoshoot on a table in a studio with lights and props.","\u002Fimages\u002Fjournal\u002Fproduct-image-formats-avif-jpeg-xl-philippine-stores-hero.webp?v=20261013b","Best Image Format for Ecommerce in 2026 | PrimeCode","The best image format for ecommerce in 2026 is AVIF first, JPEG XL where it wins and a fallback chain, so Philippine stores load fast on mobile data.","\u002Fimages\u002Fjournal\u002Fproduct-image-formats-avif-jpeg-xl-philippine-stores-og.webp?v=20261013b",false,true,"2026-11-23T01:00:00.000Z",68,"live","\u002Fblog\u002Fproduct-image-formats-avif-jpeg-xl-philippine-stores","\u003Cp>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 \u003Cstrong>best image format for ecommerce\u003C\u002Fstrong>: switch to JPEG XL, stay on WebP, or move to AVIF before the Christmas rush?\u003C\u002Fp>\n\u003Cp>Our answer: \u003Cstrong>AVIF as the default, JPEG XL only where it clearly wins, and a fallback chain so nobody sees a broken image.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Ch2>What changed in October 2026\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>Chrome 155\u003C\u002Fstrong> (6 October 2026) ships JPEG XL decoding. Google says it compresses \u003Cstrong>30–50% better than JPEG\u003C\u002Fstrong>, and still tells developers to try both AVIF and JPEG XL.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Firefox 158\u003C\u002Fstrong> (13 October 2026) turned JPEG XL on by default.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Safari\u003C\u002Fstrong> has shown still JPEG XL images since Safari 17 in 2023.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Edge\u003C\u002Fstrong> is the gap. As of October 2026, Edge had not enabled JPEG XL and Microsoft had given no date.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>AVIF is further along: since July 2026 it counts as \u003Cstrong>“widely available”\u003C\u002Fstrong> on the web platform’s Baseline list, Edge included.\u003C\u002Fp>\n\u003Ch2>Why photo weight matters in the Philippines\u003C\u002Fh2>\n\u003Cp>Most shoppers open your store on a \u003Cstrong>mid-range Android over mobile data\u003C\u002Fstrong>, 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.\u003C\u002Fp>\n\u003Cp>The bigger picture is in \u003Ca href=\"\u002Fblog\u002Fmobile-first-websites-philippines\" rel=\"noopener noreferrer\">mobile-first websites for Philippine traffic\u003C\u002Fa> and \u003Ca href=\"\u002Fblog\u002Fwebsite-speed-affects-revenue\" rel=\"noopener noreferrer\">why speed affects revenue\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2>The best image format for ecommerce, compared\u003C\u002Fh2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Format\u003C\u002Fth>\n\u003Cth>Support (as of October 2026)\u003C\u002Fth>\n\u003Cth>Best at\u003C\u002Fth>\n\u003Cth>Our role for it\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>\u003Cstrong>AVIF\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>Chrome, Edge, Firefox, Safari\u003C\u002Ftd>\n\u003Ctd>Small files at web quality\u003C\u002Ftd>\n\u003Ctd>Default\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>JPEG XL\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>Chrome 155+, Firefox 158+, Safari 17+; not Edge as of October\u003C\u002Ftd>\n\u003Ctd>Detail, lossless, shrinking old JPEGs\u003C\u002Ftd>\n\u003Ctd>Optional, tested first\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>WebP\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>All current browsers\u003C\u002Ftd>\n\u003Ctd>Flat graphics\u003C\u002Ftd>\n\u003Ctd>Middle fallback\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>JPEG\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>Everything\u003C\u002Ftd>\n\u003Ctd>Compatibility\u003C\u002Ftd>\n\u003Ctd>Last fallback and masters\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Cp>The tests we have read agree: at typical web quality, \u003Cstrong>AVIF usually makes the smaller file\u003C\u002Fstrong>. JPEG XL can \u003Cstrong>repack an existing JPEG about 20% smaller\u003C\u002Fstrong> and restore it byte for byte — great for an archive of masters, rarely decisive for a ₱499 shirt on a phone screen.\u003C\u002Fp>\n\u003Ch2>The fallback chain we use\u003C\u002Fh2>\n\u003Cp>A \u003Ccode>&lt;picture&gt;\u003C\u002Fcode> element lets each browser take the first format it can read:\u003C\u002Fp>\n\u003Col>\n\u003Cli>\u003Cstrong>AVIF\u003C\u002Fstrong> first\u003C\u002Fli>\n\u003Cli>\u003Cstrong>JPEG XL\u003C\u002Fstrong>, only where testing shows it beats AVIF (zoomable detail shots, fabric, jewelry)\u003C\u002Fli>\n\u003Cli>\u003Cstrong>WebP\u003C\u002Fstrong> for older devices\u003C\u002Fli>\n\u003Cli>\u003Cstrong>JPEG\u003C\u002Fstrong> as the plain \u003Ccode>&lt;img&gt;\u003C\u002Fcode> that always works\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>Edge users skip JPEG XL and get AVIF. If Microsoft adds support later, nothing needs to change.\u003C\u002Fp>\n\u003Ch2>Serving it from a Nuxt store without re-uploading\u003C\u002Fh2>\n\u003Cp>\u003Cstrong>You do not need to re-upload your catalog.\u003C\u002Fstrong> Keep the original JPEGs as masters; the site generates other formats on request.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>In Nuxt, \u003Ccode>&lt;NuxtPicture format=\"avif,webp\"&gt;\u003C\u002Fcode> writes the \u003Ccode>&lt;picture&gt;\u003C\u002Fcode> markup and adds the fallback for you.\u003C\u002Fli>\n\u003Cli>Nuxt Image does not list JPEG XL as an output yet. If your image CDN or build step can produce \u003Ccode>.jxl\u003C\u002Fcode>, add that source by hand on the few templates where it pays.\u003C\u002Fli>\n\u003Cli>Clean the masters first. One audit found \u003Cstrong>34 of 598 “.jpg” files were really PNGs\u003C\u002Fstrong>, and fixing them saved more than the whole JPEG XL switch.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>This is routine in our \u003Ca href=\"\u002Fservices\u002Fecommerce-website-development\" rel=\"noopener noreferrer\">e-commerce builds\u003C\u002Fa>: change one image component, not 2,000 listings.\u003C\u002Fp>\n\u003Ch2>How to measure the gain\u003C\u002Fh2>\n\u003Cp>Measure your own product pages:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Total image bytes\u003C\u002Fstrong> on your top 10 product pages, before and after\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Largest Contentful Paint\u003C\u002Fstrong> on a real mid-range Android, not only desktop Lighthouse (\u003Ca href=\"\u002Fblog\u002Fwhat-95-lighthouse-actually-means\" rel=\"noopener noreferrer\">what a 95 score really means\u003C\u002Fa>)\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Add-to-cart rate\u003C\u002Fstrong> over two comparable weeks\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>If bytes drop but pages still feel slow, check scripts, fonts or the server.\u003C\u002Fp>\n\u003Ch2>When to wait\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>Your photos sit on a platform you do not control, like marketplace listings. Let the platform decide.\u003C\u002Fli>\n\u003Cli>You have fewer than 50 products and pages load fine. Compress and move on.\u003C\u002Fli>\n\u003Cli>You are a week from a 12.12 sale. Do not touch image delivery during a freeze (\u003Ca href=\"\u002Fblog\u002F12-12-christmas-online-store-readiness-philippines\" rel=\"noopener noreferrer\">our 12.12 readiness checklist\u003C\u002Fa>).\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>Straight next step\u003C\u002Fh2>\n\u003Cp>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. \u003Ca href=\"\u002Fcontact\" rel=\"noopener noreferrer\">Start here\u003C\u002Fa>.\u003C\u002Fp>\n",{"prev":27,"next":45,"related":63},{"slug":28,"title":29,"description":30,"category":31,"readTime":32,"tags":33,"coverImage":36,"coverImageAlt":37,"heroImage":38,"heroImageAlt":37,"metaTitle":39,"metaDescription":40,"ogImage":41,"noindex":19,"published":20,"publishAt":42,"sortOrder":43,"updatedAt":42,"status":23,"path":44},"is-custom-software-worth-it-with-ai-philippines","Is custom software still worth it now that AI can build apps?","AI builders are good for drafts and simple pages. For orders, stock, bookings and payments, the build was never the expensive part. How to tell which case you are in.","Business",6,[34,35,31],"Custom Software","AI","\u002Fimages\u002Fjournal\u002Fis-custom-software-worth-it-with-ai-philippines-cover.webp?v=20261013b","A back office order screen from a system we built, with customer, items and payment sections.","\u002Fimages\u002Fjournal\u002Fis-custom-software-worth-it-with-ai-philippines-hero.webp?v=20261013b","Is Custom Software Worth It With AI? | PrimeCode","Is custom software still worth it now that AI can build apps? What AI builders do well, where they stop, and when a Philippine business should pay for a build.","\u002Fimages\u002Fjournal\u002Fis-custom-software-worth-it-with-ai-philippines-og.webp?v=20261013b","2026-11-21T01:00:00.000Z",72,"\u002Fblog\u002Fis-custom-software-worth-it-with-ai-philippines",{"slug":46,"title":47,"description":48,"category":49,"readTime":9,"tags":50,"coverImage":54,"coverImageAlt":55,"heroImage":56,"heroImageAlt":55,"metaTitle":57,"metaDescription":58,"ogImage":59,"noindex":19,"published":20,"publishAt":60,"sortOrder":61,"updatedAt":60,"status":23,"path":62},"npm-12-install-scripts-nuxt-laravel-builds","npm 12 skips install scripts: what breaks in Nuxt and Laravel builds","npm 12 no longer runs dependency install scripts by default. Why that blunts the next npm worm, which packages in a Nuxt or Laravel build need approval, and how to fix CI first.","Engineering",[51,52,53],"Security","Nuxt","Upgrades","\u002Fimages\u002Fjournal\u002Fnpm-12-install-scripts-nuxt-laravel-builds-cover.webp?v=20261013b","A laptop screen shows lines of code in a code editor in a dark room.","\u002Fimages\u002Fjournal\u002Fnpm-12-install-scripts-nuxt-laravel-builds-hero.webp?v=20261013b","npm 12 Install Scripts: Fix Your Build | PrimeCode","npm 12 install scripts are off by default. What breaks in Nuxt and Laravel builds, from better-sqlite3 to Playwright, and how to approve them safely.","\u002Fimages\u002Fjournal\u002Fnpm-12-install-scripts-nuxt-laravel-builds-og.webp?v=20261013b","2026-11-25T01:00:00.000Z",69,"\u002Fblog\u002Fnpm-12-install-scripts-nuxt-laravel-builds",[64,79,94],{"slug":65,"title":66,"description":67,"category":68,"readTime":9,"tags":69,"coverImage":70,"coverImageAlt":71,"heroImage":72,"heroImageAlt":71,"metaTitle":73,"metaDescription":74,"ogImage":75,"noindex":19,"published":20,"publishAt":76,"sortOrder":77,"updatedAt":76,"status":23,"path":78},"12-12-christmas-online-store-readiness-philippines","12.12 sale online store checklist: load-test checkout before Christmas","A 12.12 and Christmas run-through for Philippine online stores — load-test checkout, stop double-firing webhooks, queue emails, screen COD orders and post courier cutoffs.","Process",[11,68,8],"\u002Fimages\u002Fjournal\u002F12-12-christmas-online-store-readiness-philippines-cover.webp?v=20261013b","A woman seals a cardboard parcel with packing tape at home as she gets an order ready to ship.","\u002Fimages\u002Fjournal\u002F12-12-christmas-online-store-readiness-philippines-hero.webp?v=20261013b","12.12 Sale Online Store Checklist Philippines | PrimeCode","A 12.12 sale online store checklist for the Philippines: load-test checkout, fix webhooks, queue emails, screen COD fraud and post courier cutoffs.","\u002Fimages\u002Fjournal\u002F12-12-christmas-online-store-readiness-philippines-og.webp?v=20261013b","2026-11-13T01:00:00.000Z",64,"\u002Fblog\u002F12-12-christmas-online-store-readiness-philippines",{"slug":80,"title":81,"description":82,"category":8,"readTime":32,"tags":83,"coverImage":85,"coverImageAlt":86,"heroImage":87,"heroImageAlt":86,"metaTitle":88,"metaDescription":89,"ogImage":90,"noindex":19,"published":20,"publishAt":91,"sortOrder":92,"updatedAt":91,"status":23,"path":93},"core-web-vitals-soft-navigations-nuxt-philippines","Soft navigation Core Web Vitals: what Philippine Nuxt sites must check","Chrome now counts in-app page changes in Core Web Vitals field data. How Philippine Nuxt stores should read the new numbers and fix slow route changes before the May 2027 target.",[8,84,52],"Web Vitals","\u002Fimages\u002Fjournal\u002Fcore-web-vitals-soft-navigations-nuxt-philippines-cover.webp?v=20261013b","A smiling woman at a cafe table holds a smartphone and a credit card while shopping online.","\u002Fimages\u002Fjournal\u002Fcore-web-vitals-soft-navigations-nuxt-philippines-hero.webp?v=20261013b","Soft Navigation Core Web Vitals for Nuxt | PrimeCode","Soft navigation Core Web Vitals are now in CrUX. How Philippine Nuxt sites should read the new data and fix slow route changes before May 2027.","\u002Fimages\u002Fjournal\u002Fcore-web-vitals-soft-navigations-nuxt-philippines-og.webp?v=20261013b","2026-11-04T01:00:00.000Z",60,"\u002Fblog\u002Fcore-web-vitals-soft-navigations-nuxt-philippines",{"slug":95,"title":96,"description":97,"category":8,"readTime":32,"tags":98,"coverImage":101,"coverImageAlt":102,"heroImage":103,"heroImageAlt":102,"metaTitle":104,"metaDescription":105,"ogImage":106,"noindex":19,"published":20,"publishAt":107,"sortOrder":108,"updatedAt":107,"status":23,"path":109},"database-indexing-slow-queries","Indexes: why a correct query gets slow as the table grows","A right query still gets slow when the planner reads the whole table. Read the plan, add the index that matches the filter, and leave unused indexes out.",[99,8,100],"Database","SQL","\u002Fimages\u002Fjournal\u002Fdatabase-indexing-slow-queries-cover.webp?v=20261013b","A hand-drawn line chart on paper beside a ruler and pens.","\u002Fimages\u002Fjournal\u002Fdatabase-indexing-slow-queries-hero.webp?v=20261013b","Why Queries Slow Down as Tables Grow | PrimeCode","How database indexes keep a correct query fast as tables grow, how to find the slow queries, and when an extra index makes your writes slower instead.","\u002Fimages\u002Fjournal\u002Fdatabase-indexing-slow-queries-og.webp?v=20261013b","2026-10-12T01:00:00.000Z",50,"\u002Fblog\u002Fdatabase-indexing-slow-queries"]