magefan / module-speed-optimization

magefan/module-speed-optimization

Magefan Speed Optimization extension for Magento 2

  • Magefan
magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: N/A Security: Pass proprietary

Magento 2 Google Page Speed Optimizer by Magefan

icon-google-page-speed-optimizer.jpg

Magento 2 Google Page Speed Optimizer is a solution to your speed optimization problems. It optimizer every little details that slow down your website: images, JS and CSS files, HTML code, database, cache and more..

Get into the Google Page Speed Insights green zone with little to no effort. Improve Magento loading speed and deliver better customer experience.

made_in_ukraine.jpg

download-magefan-extensions.png

Useful Links

🇺🇦 Stand with Ukraine! How can you help?

Requirements

  • Magento Community 2.3.0-2.4.x (CE, EE, ECE, B2B)
  • Magefan Community Extension >= v2.1.30. Please install this extension first if you use installation via FTP.
  • Note that the extension is free only for the Magento Community (Open Source) Edition. For Magento EE, ECE, and B2B you need to purchase the license for Base, Plus, or Extra.

Editions & Pricing

Plans and Pricing for Magento 2 Google Page Speed Optimizer

Benefits

  • Faster website loading speed
  • Improved SEO ranking
  • Optimised customer experience

Features

Speed Up Magento Speed for Good

Google analyses a lot of things when ranking your store in search. The most attention always goes to the loading speed which is the hardest to optimise.
But the struggle ends now.

Magento 2 Google Page Speed Optimizer covers the technical side of speed optimisation entirely. All the critical PageSpeed highlights are already optimised for high scores.

Improve your website performance on autopilot without spending a fortune

magento-2-speed-optimization.webp

Defer JS and CSS Files Loading

Defer JS and CSS Files Loading
While not visible to website visitors, a lot of files need to load before the page is rendered. If there are too many of them, you lose customers.

Are all files that load critical? Surely not.

Make sure to load only critical files first to speed up page loading. Let our Magento 2 Google Page Speed Optimizer move non-critical CSS and JS files to the bottom and load them gradually.

magento-2-deffer-js-css-loading.webp

Use JS Bundling to Speed Things Up

Although you don’t see a significant part of the code your store is built with, it loads every time a page is loaded. This increases the size and loading time of a page.

Stop the excessive JS loading with JS bundling.
Use the Magento 2 Speed Optimization Extension to combine and load only required JS files.

Merge these required files into one to reduce the loading time even more.

magento-2-js-bundling.webp

Minify JS, CSS and HTML Files

Although Magento 2 Google Page Speed Optimizer can load different JS and CSS files differently, the size of these files could still be a problem.

But not in our case.

Reduce the extra spaces, block delimiters and comments from the CSS and HTML files to make them “lighter”. Combine JS files to reduce the file size and speed up their loading.

minify-js-css-html-in-magento-2.webp

Lazy Load All Images

Images take the biggest space on your disk, though you don’t even use all of them. Does this influence your website speed? No need to guess.

Load only critical images and those within the visitors’ viewport to speed up Magento loading.

Enable image lazy loading with the Magento 2 Google Page Speed Optimizer and make your speed optimization journey easier.

magento-2-image-lazy-load.webp

Use Modern File Format

You can defer image loading for all your images, but it doesn’t make them less heavy. Only unless you use the modern file format - WebP - which is smaller and faster to load.

Convert all your website images and gifs to the WebP format with the Magento 2 Google Page Speed Optimizer.

Let the module do the job automatically or upload your own WebP image to the Magento admin panel. The choice is yours.

magento-2-webp-images.webp

Keep Your Cache Warmed Up

When all the other page elements are optimized, the last thing that could be delaying the page load is the cache. Flushed cache to be exact.

Don’t make browsers load a page from scratch every time.

Make sure a fresh copy of your content is always cached with the Magento 2 Google Page Speed Optimizer.

Define what pages to cache first, monitor cache warming processes and cache flushes.

magento-cache-coverage-reports_1.webp

Demo

Try out our open demo and if you like our extension please give us some star on Github ★

Storefront Demo Admin Panel Demo
Magento 2 Google Page Speed Optimizer Storefront Demo Magento 2 Google Page Speed Optimizer Admin Panel Demo
view view

Support

If you have any issues, please contact us
then if you still need help, open a bug report in GitHub's
issue tracker.

Need More Features?

Please contact us to get a quote
https://magefan.com/contact

License

The code is licensed under EULA.

Magento Extensions by Magefan

Magento 2 SEO Extensions

Magento 2 Google Extensions

Magento Speed Optimisation Extensions

Magento Admin Extensions

Magento Order Management Extensions

Magento 2 Blog Extensions

Magento Marketing Extensions

Magento Promotions Extensions

Magento 2 Multi-Language Extensions

Developers Tools

Shopify Apps by Magefan

Magento 2 Services by Magefan

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
2.0.4 stable Fail Magento 2.4.7-2.4.9 Details 2026-03-24 11:28:51
2.0.3 stable Not tested Not yet tested Details 2025-05-08 13:10:34
2.0.2 stable Not tested Not yet tested Details 2025-03-20 10:39:00
2.0.1 stable Not tested Not yet tested Details 2025-02-04 15:56:44
2.0.0 stable Not tested Not yet tested Details 2024-10-08 11:13:48

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 35 35 warnings (ruleset: Magento2) — 10 auto-fixable with phpcbf
PHPMD Warning 13 13 rule violations (UnusedFormalParameter:6, UndefinedVariable:5, IfStatementAssignment:1, ExcessiveMethodLength:1)
Cpd Pass 0
Composer validate Info 4 valid; 4 advisory notes (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 87 87
2.4.8 96 96
2.4.9 96 96

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
proprietary
Authors

More from magefan

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.