1. Home
  2. What's New
  3. Google PageSpeed Optimizer for Magento 2
Google PageSpeed Optimizer for Magento 2

Google PageSpeed Optimizer for Magento 2 external-link

mirasvit/module-optimize
13 features 23 improvements 69 fixes New to it? See what it does
Which version are you on? See what changed since
Stores > Configuration > Mirasvit Extensions > Developer
2.1.21 2025 2.1.7 2024

Overview

19 releases in the last year

Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Each square is a week. Pick one to jump to its releases. Less More

November 2026

2.3.12 Nov 20
Improved
  • New images are now picked up for optimization as soon as Magento creates them, instead of waiting for the cron scan to find them. This applies when Image scan strategy is set to Filesystem and media is stored locally. Resized product and swatch images, product gallery images saved with a product, and images uploaded through the image browser or Media Gallery are recorded right away. If an image cannot be recorded, the error is logged and Magento saves the image as usual.
  • The media scan now runs once a day as a fallback for images added in other ways, such as FTP uploads, imports, and Page Builder or category images. It goes through the media folder in order and continues where the previous run stopped, so stores with a lot of media still get a full scan. Before, each run checked a random sample of at most 10,000 files, so some new images could wait days to be found. The first full scan also records product image copies that were resized before the module was installed.
  • ⚠️ Each image now gets exactly one record in the image list. When two requests resized the same image at the same time, they could both add a record for it. On bin/magento setup:upgrade, duplicate records in the mst_optimize_image_file table are deleted (the oldest one is kept), the relative_path column is switched to a case-sensitive (_bin) collation, and a unique index MST_OPTIMIZE_IMAGE_FILE_RELATIVE_PATH_UNIQUE is added to it. With the case-sensitive column, files whose names differ only in letter case, such as IMG.jpg and img.jpg, are kept as two separate images. Responsive image names you configure still match regardless of letter case.
2.3.11 Nov 18
Fixed
  • Fixed the image optimization cron job running for hours on stores with many images when Image scan strategy is set to Filesystem, holding up other cron jobs. Every run checked thousands of already recorded images again and went through the whole image list looking for deleted files, with no time limit on either step. Now a run stops after 5 minutes, the media scan checks only images that are not recorded yet, and the search for deleted images continues where the previous run stopped, with one full pass a day.
2.3.10 Nov 17
Fixed
  • Fixed one unreadable JavaScript file emptying the whole JS bundle during static content deploy. Any error while building a bundle was silently ignored, so the bundle for that scope was written as an empty file and nothing was logged. Now only the unreadable file is left out, the rest of the bundle is written, and the error is logged with the bundle and file names.
  • Fixed JS bundling replacing accented and other non-ASCII characters with ? in JavaScript files saved in Windows-1252 or ISO-8859-1 (Latin-1) encoding. These files are now converted to UTF-8 correctly, and files that are already UTF-8 are left untouched.
  • Fixed a failed WebP conversion being recorded as a WebP copy that did not exist. When cwebp could not convert an image and the ImageMagick fallback was missing or also failed, the image was marked as converted and was never tried again. A failed conversion is now reported as an error ("Could not convert … to WebP"), no WebP copy is recorded, and the image is converted again on a later run.
  • Fixed PageSpeed Insights scores being recorded wrongly. Scores were cut off instead of rounded, so a score of 29 could be saved as 28, and a Google check that ended without a performance score was saved as a score of 0. Scores are now rounded correctly, and a check without a score is logged as a failed check instead of a zero.
  • Fixed the page builder exception in the output optimization working the wrong way round. A storefront page whose <html> tag had a class and whose content mentioned builder-container anywhere (a block, a script or a style) was skipped by all optimizations, while the builder's own editing page, whose <html> tag carries the builder-container class, could still be optimized. Now only pages whose <html> tag has the builder-container class are skipped.
  • Fixed the image lazy-load conflict check never warning that the Porto or MGS theme's own lazy load is enabled, and fixed WeltPixel slider names in its warnings showing a leftover "lazyLoad" suffix.
  • Fixed CSS preload links sometimes being written without a space before as="style", producing invalid markup that browsers could ignore, so the stylesheet was not preloaded.
  • Fixed the font-display swap setting skipping fonts whose stylesheet writes font-display with spaces around the colon (for example font-display : block). Those fonts are now switched to swap as well, so text stays visible while they load.
2.3.9 Nov 10
Fixed
  • Fixed the Generate responsive images, Cleanup responsive images and Run pre-fly checking buttons in Stores → Configuration showing "Invalid Form Key" and doing nothing. The 2.3.7 security fix started checking the admin form key on these actions, but the buttons never sent it correctly, so every click was rejected, whether Add Secret Key to URLs was on or off. The buttons now send the form key with each request and work again.
  • Fixed phones with a 3x pixel density, such as iPhone Pro Max and Pixel Pro models, loading the large desktop copy of responsive images instead of a mobile one. The 2x mobile copy added in 2.3.8 was still not sharp enough for these screens, so the browser skipped past it to the desktop image. Generate responsive images now also creates a 3x copy of the mobile size, stored in a resize-480-3x folder next to the existing ones, and offers it to the browser. Cleanup responsive images removes it together with the other copies. Run Generate responsive images again after updating so the new copies exist.
  • Security improvements.
2.3.8 Nov 6
Fixed
  • Fixed responsive images telling the browser the wrong sizes. The srcset and sizes attributes always announced the resized copies as 480 and 800 pixels wide, no matter which widths were set under Responsive images → Config. A desktop copy resized to, say, 1920 pixels was announced as 800, so browsers picked the wrong copy. The attributes now use the configured widths. When the desktop width is left blank, 800 is used so the attribute stays valid.
  • Fixed phones and other high-density screens loading the large desktop copy instead of the mobile one. The mobile copy alone was not sharp enough for a screen that packs two device pixels into each CSS pixel, so the browser skipped past it to the far bigger desktop image. Generate responsive images now also creates a 2x copy of the mobile size, stored in a resize-480-2x folder next to the existing ones, and offers it to the browser. Cleanup responsive images removes it together with the other copies. Run Generate responsive images again after updating so the new copies exist; until then, pages keep offering the mobile and desktop copies as before.
  • Fixed responsive image generation enlarging source images that are narrower than the configured width, which produced blurry, larger-than-needed files. The resize now only shrinks. A source image that is already narrower than the target is written at its own size. This was most likely for the new 2x mobile copy, which targets twice the mobile width (960 pixels for the default 480).
2.3.7 Nov 4
Fixed
  • Fixed critical CSS generation failing for pages whose critical CSS is larger than about 64 KB. The extraction tool exited before it had finished writing its result, so the result was cut off and the admin showed "Control character error, possibly incorrectly encoded". The full result is now written before the tool exits.
  • Fixed the Generate responsive images, Cleanup responsive images and Run pre-fly checking admin actions not checking the admin form and secret keys. A crafted link opened by a logged-in admin could trigger these actions. The buttons already send both keys, so nothing changes in normal use.
  • Fixed the responsive image resize command receiving unescaped file names and the configured width. A file name containing shell syntax, or a non-numeric width value saved in configuration, could run arbitrary commands on the server. File paths are now passed as escaped arguments, and only the whole-number width is used.
  • Fixed values from the Preload recourses list being written into the page head unescaped. A quote in a saved value could break out of the link attribute and insert markup into every storefront page, and $1 in a value was expanded as a pattern reference. Values are now escaped, and entities you typed yourself, such as &amp; in a URL, are kept as they are instead of being encoded twice.
  • Fixed a Critical CSS rule being able to close the inline <style> element and inject markup into the page. The </style sequence was removed in one pass, which could rebuild it from the surrounding text. It is now removed until none is left. The same protection is applied to stylesheets inlined by the Add styles to HTML from CSS resources setting.
  • Fixed the Add styles to HTML from CSS resources setting fetching remote stylesheets without checking the server's TLS certificate, and fetching protocol-relative (//) stylesheet links over plain HTTP. Certificates are now verified, and protocol-relative links are fetched over HTTPS. Stylesheets served with an invalid or self-signed certificate (common on staging servers) are no longer inlined; the page loads them normally. Links with an explicit http:// address are still fetched as written.

October 2026

2.3.6 Oct 28
New
AVIF images
A new Use AVIF images setting under Stores → Configuration → PageSpeed Optimizer → Image optimization creates an AVIF copy of every JPEG and PNG image and shows it on the storefront in place of the original. AVIF files are usually smaller than WebP, so pages load faster. The setting is off by default and applies to the whole installation. It needs the avifenc tool on the server, and your web server must send .avif files with the image/avif content type. When WebP is also on, each image is shown as AVIF where an AVIF copy exists and as WebP everywhere else. This applies to page images, <picture> sources, product images, galleries, swatches and Page Builder background images. GIF images are never queued for AVIF. Browsers without AVIF support do not display these images.
New
AVIF quality
A separate AVIF quality field (1–100, default 60) sets how strongly AVIF copies are compressed. It is kept apart from the image quality level because AVIF looks just as good at a lower number: at 60 the files are already smaller than WebP at 100. After you change it, the next optimization runs convert the existing AVIF images again, with no reset needed.
New
AVIF copies are made by the existing image optimization cron and by bin/magento mirasvit:optimize-image:optimize, which has a new --avif option to make only AVIF copies. bin/magento mirasvit:optimize-image:validate now checks for avifenc. The admin shows a warning when AVIF is on but avifenc is missing, and the image statistics show an AVIF Files count. bin/magento mirasvit:optimize-image:reset also removes AVIF copies.
New
⚠️ The mst_optimize_image_file table gets three new nullable columns, avif_path, avif_hash and avif_quality, plus an index on avif_hash. Run bin/magento setup:upgrade after updating.
Improved
  • AVIF conversion handles failures safely. If avifenc fails on one image, the error is logged and the image keeps its compressed and WebP copies; an older AVIF copy of it is removed, so the WebP copy is shown instead of an outdated picture. The failed image is tried again when the avifenc build on the server changes, when AVIF quality changes, or after a week. Older avifenc versions (before 1.0, as shipped with Debian 12 and Ubuntu 22.04) are detected and given the options they understand.
  • bin/magento mirasvit:optimize-image:optimize --image, --webp or --avif now queues only images that need that kind of processing. Before, a run limited to one kind could keep picking up images it would not touch, and then stop early. Images already compressed at the current level are no longer compressed again when their compressed copy is up to date and they only need an AVIF or WebP copy.
Fixed
  • Fixed Defer Google Fonts doing nothing on most current themes. Only the old fonts.googleapis.com/css? link was recognized. The css2?family=… link that Google has given out since 2020 was ignored, so the font stylesheet still blocked page rendering, got no preload and no display=swap, and nothing was logged. Both link types are now deferred. A link that asks for another display mode, such as display=block, now gets swap in its place instead of a second display parameter.
  • Fixed some storefront images being matched to the wrong image record, or to none, when their address contained the media folder name more than once, for example /media/catalog/media/x.jpg. Those images were not shown in their optimized or WebP form, or a different optimized file was shown in their place.
  • Fixed <picture> sources getting a second type attribute when replaced with a WebP or AVIF copy. Browsers read the first one, so they could treat the copy as the original format.
  • Fixed bin/magento mirasvit:optimize-image:optimize stopping with an error on stores that keep media on remote storage, such as Amazon S3. The command checked and measured the optimized and WebP copies on the local disk instead of in the bucket.
  • Fixed bin/magento mirasvit:optimize-image:optimize saving an image with no size when its optimized or WebP copy was missing. Such an image is now removed from the list with the reason printed, and the next scan adds it again.
  • Fixed images whose compressed copy had been deleted never being compressed again while their WebP copy remained. They are now queued again.
  • Fixed critical CSS inlining downloading stylesheets over HTTP while the page was rendering, instead of reading them from disk. Stylesheets linked from the site root (/static/...) got a double slash in their address, so they were not found locally. This slowed down page rendering.
2.3.5 Oct 19
Fixed
  • Fixed the Generate responsive images, Cleanup responsive images and Run pre-fly checking buttons in the module configuration doing nothing when clicked on admin setups where the button's HTML id contains special characters such as :. The button could not find itself on the page, so the action never started and no progress or result was shown.
  • Fixed fonts and background images going missing on pages that use critical CSS. When the critical CSS came from a stylesheet with relative file paths (for example, a theme's web fonts or icon images), the browser looked for those files next to the page instead of next to the stylesheet. The files were not found, so text could show in a fallback font and icons or backgrounds could be missing until the full stylesheet loaded. These paths are now corrected during extraction. Files on your own domain are linked from the site root, and files on a CDN are linked by their full address. Critical CSS generated before this update keeps the broken paths until it is generated again.
2.3.4 Oct 12
Improved
  • The module is now ready for Mirasvit Core 2.0. It uses Magento's own JSON handling for its settings, product gallery and swatch images, Page Builder background images, JS bundle tracking and the PageSpeed score charts in the admin. It no longer relies on a Core helper that Core 2.0 removes, so upgrading Core will not break the storefront or the admin.
  • ⚠️ On upgrade, a one-time step converts the Responsive images and Preload fonts settings from the old pre-Magento 2.2 storage format to JSON, in every scope (mst_optimize/optimize_image/responsive/image and mst_optimize/optimize_html/preload_fonts in core_config_data). Without this step, stores that last saved these settings on Magento 2.1 or earlier would see them come back empty. Settings already stored as JSON are not changed, and a value that cannot be read is left as is and logged as a warning.
2.3.3 Oct 9
New
Image optimization on remote media storage
Images are now optimized and converted to WebP on stores that keep media on remote storage, such as Amazon S3. Before, the module did nothing on these stores and logged no error. It looked up each image under a full bucket URL that matched no record. The media-folder scan found no files, and the optimizer tools never got a file to work on, so every page kept serving the original images. Now, on remote storage, images are picked up when storefront pages request them, because scanning a whole bucket would be slow and costly. Each image is downloaded as a working copy for the optimizer tools, and the result is uploaded back. Stores with local media work as before, and their existing image records stay valid without any migration.
Improved
  • On stores with remote media, storefront pages no longer run a database lookup for every image looking for a record that could never match. This removed 21 of 195 queries on one tested home page. Pages also send fewer requests to the bucket: the module remembers which optimized copies exist and stops re-downloading SVG and ICO files to check their type.
  • Image records are now keyed by where the media folder actually is, as set in Magento's directory configuration. Stores that moved pub/media elsewhere (split deployments, hosted platforms) now get correct matches. A store root such as /var/www is also no longer mixed up with a media folder at /var/wwwdata/media.
  • ⚠️ Stores that use the Webpages scan strategy with remote media may still have image records saved under the old URL-shaped keys. These records no longer match anything and are not cleaned up automatically. They are harmless; you can safely truncate the mst_optimize_image_file table to remove them.
Fixed
  • Fixed the checkout breaking when Move JavaScript To Page Bottom was turned on: customers could not place an order. /checkout is now the default value of the move-JS URL exception list, matching the JS bundling exception list. Stores that saved the JavaScript settings before this default existed have an empty saved value that overrides it. On upgrade, each empty JS bundling or move-JS exception value, in any scope, is set to /checkout. Lists you filled in yourself are not changed.
  • Fixed Delay JavaScript skipping every inline script on a page that contained one large inline script (about 9 KB or more; Algolia and cookie-consent settings easily reach that size). Nothing was logged when this happened.
  • Fixed the store-view setting for Move JavaScript To Page Bottom being ignored; only the default-scope value was applied.
  • Fixed disabling this module also disabling Magento's own Minify JavaScript Files setting (Advanced → Developer).
  • Fixed JS bundles no longer loading on the storefront after Minify JavaScript Files was turned off without redeploying static content.
  • Fixed JavaScript used on only some pages being added to the default bundle that every visitor downloads. Repeat visits to the same page made the file look as if every page used it.
  • Fixed the JS bundle tracking endpoint returning a server error on malformed data and discarding the valid URLs in the same request.
  • Fixed the Ignore List not applying to YouTube iframes when Defer YouTube videos was enabled.
  • Fixed lazy-loaded iframes never loading when the page output was processed twice; each pass also added another <noscript> copy.
  • Fixed a page that contained the same inline script twice losing one copy, even when that copy was inside an excluded block.
  • Fixed the critical CSS extractor picking up styles from iframes on the page, such as third-party chat widgets. Once inlined into the page, one widget's styles froze the storefront: scrolling and clicks stopped working, and the content was squeezed into a single screen.
  • Fixed raw error text being shown in the admin when critical CSS extraction failed unexpectedly. The admin now shows a short message, and the details are written to the exception log.
  • Fixed the admin reporting "The rule has been deleted." when deleting a critical CSS rule that no longer existed, for example from an outdated grid in another tab or after pressing Back.
  • Fixed GIF optimization working only when started from the Magento root folder; it failed for cron jobs and services that run from a different working folder.
  • Fixed images under pub/ but outside pub/media, such as versioned static images, being treated as missing even though they were on disk.
  • Fixed bin/magento mirasvit:optimize-image:optimize with a path argument reporting "No files to process" under the Webpages scan strategy. Its progress bar also started from too low a count.
  • Fixed image records on remote media being deleted whenever an image appeared to be missing, which undid their optimization until the next scan. On these stores, records for pub/static and other local files are still cleaned up.
  • Fixed several remote-storage issues: optimized copies and WebP versions were checked on the local disk while the page URL pointed to the bucket. Pending images also showed "Not allowed file extension" in the debug output, and the cron looked for optimized copies in the wrong place.
  • Fixed failed PageSpeed checks being saved as a score of 0, which made the score graph drift toward zero and the store look slower. A check fails when there is no outbound access, the API key is invalid or expired, the quota is used up, or the request times out. Failed checks are now skipped and the reason is logged, and bin/magento mirasvit:optimize-insight:pagespeed exits with an error code.
  • Fixed saved PageSpeed score records having no ID, so they could not be loaded or deleted.

September 2026

2.3.2 Sep 22
New
Exclude image formats from optimization
A new Exclude image formats from optimization field under Stores → Configuration → PageSpeed Optimizer → Image optimization lets you leave JPEG, PNG or GIF images alone. An excluded format is neither compressed nor converted to WebP, and never enters the optimization queue at all. Nothing is excluded by default, so existing stores are unaffected, and each format can be excluded on its own. The JPEG option covers both .jpg and .jpeg files. Clearing a format puts it back into the queue on the next run.
New
Restore one image format
bin/magento mirasvit:optimize-image:reset accepts a new --format option (for example --format=gif, repeatable) that restores the originals for just that format and leaves the optimized and WebP copies of the other formats in place. This is the documented way back after excluding a format, since copies made before the exclusion are kept. An unknown format name is refused with the list of valid ones instead of matching nothing.
Improved
  • Responsive image generation and cleanup now read the image table once per run instead of once per configured responsive image, and each of those reads scanned the whole table. On stores with a large image table (one customer's had grown to 13.3 million rows) and several configured responsive images this was the slowest part of the job. The files produced are identical; cleanup now also deletes a file covered by two configurations once instead of once per configuration.
  • Storefront pages look up all their images in two database queries instead of two per image. On a Hyvä home page, 30 of the page's 103 queries were these lookups — and all 30 were misses, because that store serves its images from a CDN. The markup produced is unchanged.
  • ⚠️ Matching a configured responsive image against stored image paths is now a plain case-insensitive substring test. It now also matches when the configured name differs in letter case from the stored path (those images were resized before and would otherwise have stopped being). It no longer treats _ and % in a configured name as wildcards — previously hero_banner.jpg also matched heroXbanner.jpg. This aligns generation with the check that decides which image is actually served.
Fixed
  • Fixed bin/magento mirasvit:optimize-image:reset stopping with a fatal error part-way through when it hit an image file that exists but cannot be read. The run aborted, leaving every record it had already processed stripped of its optimized and WebP copies on disk while the rest of the table still pointed at files the run had deleted. Such a record is now removed like a missing one, and the next scan re-creates it if the file becomes readable again.
2.3.1 Sep 15
Improved
  • The admin warning about WebP conversion now names the image formats that cannot be converted on your server (for example, only GIF when the gif2webp tool is missing but cwebp works) instead of reporting that WebP conversion does not work at all — and it is no longer shown on stores that keep WebP turned off. bin/magento mirasvit:optimize-image:validate now also checks for gif2webp.
Fixed
  • Fixed the image optimization cron running for hours and re-processing the same images over and over on servers where the required tools are missing or only partly installed. While it did, it held the default cron group, so other jobs — including the order, invoice, shipment and credit memo e-mails — piled up hundreds of missed runs. The queue now only picks up images the installed tools can actually produce a result for, stops as soon as it notices the same batch coming back, and ends a run after five minutes (bulk work belongs to bin/magento mirasvit:optimize-image:optimize, which now has the same safeguards and tells you when nothing can be processed).
  • Fixed images being silently skipped forever when the server reports their file type with a different spelling than expected (for example image/x-png for a PNG, image/pjpeg for a JPEG, or a type with a charset suffix) — there was no error and no log entry, the images simply never appeared in the optimization queue. These spellings are now recognised, so the affected images get optimized.
  • Turning image optimization off no longer switches off the cleanup of the image-optimization table: the file scan and the orphaned-record sweep now run before the on/off check. This matters because switching optimization off is the natural reaction to discovering an oversized table — which is exactly when the pruning has to keep running.
  • Fixed the JavaScript bundling feature's tracking requests starting a Magento session on every storefront page. With locking session storage (Redis) they waited on the session lock the page request itself was holding, adding 400 ms to 1.3 s to page response times — one store measured page-finish times of up to 1.6 minutes. Neither request reads or writes the session, so no session is started for them now.
  • Fixed the JavaScript bundle tracking endpoint recording nothing when it received a single URL instead of a list — it answered with "success" while quietly storing nothing, leaving only a warning in exception.log. A single URL is now handled like a list.
  • Fixed misspelled admin labels: "Add styles to HTML from CSS resourses" and its help text now read "resources", and the image lazy-load hint now reads "Only affects background images added from the page builder". Existing translations for all locales are unchanged.
2.3.0 Sep 3
New
Developer Mode switch
A new Developer Mode setting under Stores → Configuration → PageSpeed Optimizer → General controls the ?debug=lazy and ?debug=optimize-image debug output on the storefront. It ships turned off, so this diagnostic information is no longer visible to anyone who guesses the URL parameter on a live store; turn it on only while troubleshooting.
New
Clean up orphaned image records
The new bin/magento mirasvit:optimize-image:cleanup command removes image-optimization records for files that no longer exist on disk, and deletes the optimized/WebP copies left behind with them. Useful after purging the product image cache or deleting products. The command refuses to run (and removes nothing) when media is stored remotely or in the database, where missing files cannot be detected reliably.
Improved
  • The image optimization cron now sweeps out orphaned records on every run, so the optimization table no longer grows without limit after image cache purges — on one store it had reached 13 million rows (11.7 GB) for about 14,000 real images. The sweep works in batches, so it stays fast and light even on tables that large, and is skipped automatically on remote (S3) or database media storage.
  • Storefront pages issue far fewer database queries for image optimization: repeated lookups of the same image within a page are now reused instead of re-queried (a category listing dropped from ~150 queries down to one per distinct image).
  • ⚠️ New default: the "Do not use JavaScript bundles on pages" list now defaults to /checkout, so JavaScript bundling no longer breaks the checkout on a fresh install. Stores that never saved a value for this field will pick up the new default (config path mst_optimize/optimize_js/bundle_js_exception) — set the field explicitly if you want bundles on checkout.
  • The help text for the "Do not use JavaScript bundles on pages" field now explains exactly what it accepts: a pattern is part of the URL path, matching is case-sensitive, a full action name (e.g. checkout_index_index) limits it to a single page, full URLs and wildcards are not supported, and a lone / disables bundles across the whole store.
Fixed
  • Fixed setup:static-content:deploy failing with an "Undefined constant … BUNDLE_JS_DIR" fatal error on Mage-OS installations — the module now detects Magento's deploy component properly instead of looking for it at a fixed vendor path.
  • Fixed the ?optimize_js= URL parameter being written into the page markup as given, which allowed a crafted link to inject content into the storefront HTML. Only the two valid modes are now accepted; anything else falls back to the default.
  • Fixed a single 0 in the iframe lazy-load exception list being silently dropped instead of used as a pattern.
  • Fixed several admin configuration labels and help texts that still displayed in English on non-English admin panels — including the image optimization strategy options, the PageSpeed insight score labels and the "Preload recourses" help. All admin wording, including the new settings above, is translated across the 15 supported locales.

July 2026

2.2.0 Jul 1
New
Delay JavaScript Until User Interaction
Holds heavy third-party scripts (Google Tag Manager, chat, analytics, review widgets) until the shopper first interacts with the page, or an optional timeout — lowering Total Blocking Time without losing functionality. Set include/exclude patterns under Stores → Configuration → PageSpeed Optimizer → JavaScript Optimization and test them with the built-in Dry Run mode; core scripts (RequireJS, jQuery, Knockout, Magento UI, Hyvä/Alpine) are never delayed.
New
Critical CSS per page type
Define per-page-type critical CSS (product, category, CMS, checkout, third-party) on the new Critical CSS Rules page (Content → PageSpeed Optimizer) so above-the-fold styles paint immediately; a built-in extractor captures each page's real CSS, on demand or on a schedule. To then load the remaining stylesheets without blocking first paint, enable Defer Non-Critical CSS under Stores → Configuration → PageSpeed Optimizer → CSS Optimization. ⚠️ The extractor needs Node.js and Chrome/Chromium on the server (storefront handling stays pure PHP — Magento Cloud–safe).
Improved
  • JavaScript Optimization now coordinates with Magento's native Minify JavaScript Files instead of conflicting. ⚠️ On upgrade it switches on automatically if native minify is already enabled — disable it under PageSpeed Optimizer → JavaScript Optimization if unwanted.
  • Admin and storefront wording is now fully translatable (translations for 15 locales).
Fixed
  • Fixed the checkout fatal error (PHP 8.1+) when an empty/null response body passed through the output pipeline — every step now guards its input. Completes the fix started in 2.1.26.
  • Fixed YouTube previews losing their title, and a class-less lazy-loaded <iframe> rendering with broken markup.
  • Image optimization no longer re-checks for the WebP/optimization tools on every image (this spawned surplus processes during the cron).
  • Restored the admin warning about a Weltpixel slider-lazyload conflict — a typo had stopped it from ever appearing.

May 2026

2.1.26 May 26
Fixed
  • Fixed a fatal error on the checkout page caused by a null page content reaching the output processor pipeline (PHP 8.1+ deprecation in strpos/preg_match escalated to fatal in developer mode)

April 2026

2.1.25 Apr 22
Improved
  • Image preload entries using the imagepreload:: prefix now support a media attribute, allowing you to preload images only for specific screen sizes (e.g., preload a desktop hero image only on desktop). Format: imagepreload::href|srcset|sizes|media
Fixed
  • Fixed fonts not loading on checkout pages when "Defer Google Fonts" is enabled — the feature is now automatically skipped on checkout to avoid conflicts with the page's Content Security Policy

March 2026

2.1.24 Mar 25
New
Added support for imagepreload:: prefix in the Preload recourses configuration field
New
Added automatic preloading of the main product image on product pages
Improved
  • Compatibility with Magento 2.4.9
Fixed
  • Fixed Defer Google Fonts to actually defer the font CSS request instead of only adding display=swap

February 2026

2.1.23 Feb 18
Improved
  • Changed the resizing algorithm to preserve the quality of the original images during resizing
2.1.22 Feb 11
Fixed
  • Fixed responsive images not being applied to product images (when webp conversion is enabled)
Loading...