- Home /
- Magento Extensions /
- Magento 2 extensions /
- M2 Page Speed
Free installation
All extensions for $79
10 activations included
Product Description
Take advantage of Gzip compression
One of starting points in website speed optimization is the Gzip compression. It is used for compressing resources to reduce their transfer size. Our module supports Test gzip compression. If the results show your store still need the gzip compression, you have to enable that on your web server. Page Speed provides the examples of enabling compression both for Apache and Nginx.
Minify Javascript files to speed up execution time
By compacting JavaScript code you will save many bytes of data as well as speed up downloading, parsing, and execution time. The results of this kind of compression are expected to be about 20-30%. Via Page Speed configuration settings you could merge javascript files, enable javascript bundling and minify javascript files. The module also allows removing render-blocking javascript.
Minify HTML to reduce download and parse times
It’s proved that CSS and Javascript minification achieved a 21% size reduction. By compacting HTML code, including any inline JavaScript and CSS contained in it, you can save many bytes of data and speed your web pages loading. With Page Speed setting you could enable a minification both to Js and CSS content as well minify the templates.
Minify CSS to improve your page load performance
CSS minification leads to a very lightweight version of your CSS, and as a consequence to faster page load speed. By compacting CSS code you will speed up download time and improve the website performance. With Page Speed settings you could merge CSS files, minify CSS files, and optimize CSS delivery by enabling LoadCss js library.
Prioritize the critical CSS to render your site fast
Prioritizing visible content is about reducing the size of the above-the-fold content. Only about 7% of the final above-the-fold content could be rendered with the full HTML response. So, you have to structure your HTML to load the critical first. Using the Magento 2 Page Speed module's settings you are able to set generated critical CSS to render above-the-fold content by including it directly in the HTML response.
Optimize images for page speed
The module equips your store with various performance image optimization tricks to help you avoid page overload with heavy images. To prevent the browser from loading images until those ones are in the browser's viewport, you can use lazy loader for images. The module provides custom configuration options such as auto specify image dimensions, offset, placeholder field, and offset for mobile devices.
Decrease load times for returning visitors
Nowadays the websites might have 50+ files per page to transfer. To prevent a huge server load increase, you have to create a request to every file. The constant downloading the same file leads to the wasting of precious load time. Page Speed module allows adding Expires Headers that helps to reduce the number of HTTP requests for the server. And, consequently, it reduces the time the server requires to connect with the browser. That also allows the returning visitors to reuse the cache files that have been stored in the browser to reduce the number of files they need to download.
Speed up web pages by pre-resolving DNS
The rel="dns-prefetch" is used in the head of an HTML document. DNS prefetching basically gives you a control over how your web page loads. It looks like a hint to the browser how to look up the IP address for a domain name or URL that your customers enter in a browser. If your page resources are found on four domains, then you will have at a minimum of 4 DNS lookups, and so on. Page Speed module follows the best practice of minimizing DNS requests. It enables the "dns-prefetch" to accelerate the web pages load when they use different domains for page resources.
Provide users with WebP optimized images
The WebP algorithm is about reducing image file size while maintaining the same quality. It offers better-optimized compression than JPG and PNG. And, WebP files have the same transparency, like PNG or GIF images. The Page Speed module supports WebP image detecting and generating in your site. As a result, you get faster load times by reduced data as well as optimized performance and improved user experience.
Optimize image delivery to different devices
The Page Speed extension provides the advanced image processing settings that help you to generate responsive images and specify the default responsive images' sizes. Responsive support feature delivers images appropriately sized for the viewport. With the module you help the browser serve different images and load the best image size on a particular device.
Reduce page rendering time via Server Push
HTTP/2 push server preload is a new feature of Page Speed module. It is about sending assets to a browser without waiting for customer request. It looks like we send content in advance which the user needs for the requested page. As a result, the browser starts rendering the page much faster, and your visitors get the information straight away.
Control font performance with font-display
Now lots of websites use custom fonts, and a browser must spend some time downloading it. It makes the rendering speed of pages slower. The module has added font-display: swap property. It determines how a font file is loaded and displayed by the browser. Then it directs a browser to use the fallback font to show the text until the custom font has fully downloaded.
Release notes
Page Speed 1.7.27
12th April 2024- Remove useless (old version) of ParamsBuilder
- Fix curl options in custom admin form field(s)
Page Speed 1.7.26
28th March 2024- Magento 2.4.7 compatability update
Page Speed 1.7.25
5th December 2024- Reworked image adapter(s) integration (preference => plugin)
- Fix ‘Deprecated Functionality: Automatic conversion of false to array is deprecated’
- Fix phpstan errors
Page Speed 1.7.21
5th December 2023- Fix: Cannot use object of type Laminas\Http\Headers as array
- Fix phpstan zend warning
- Fix gzip header detection
- Fix HTTP2 detecting (skip default http_ver param)
- Add focusin observer in requirejs-override
- Add init data-mage-init js component(s) in viewport (init menu defore interaction)
Page Speed 1.7.20
28th November 2023- Fix unpack defering with enabled merge js
Page Speed 1.7.18
14th November 2023- Improve ‘interactive’ config description
- Fix checkoutConfig defering error
Page Speed 1.7.14
20th October 2023- Fix phpstan error
- Fix js unpacking for delayed scripts
- Add interactive unpacking mode for delayed scripts
- Add load-all-requirejs-scripts.js (disabled)
Page Speed 1.7.10
20th August 2023- Prevent: PHP8.1 Deprecated function
- Fix phpstan errors
Page Speed 1.7.4
7th April 2023- Decrease laminas/laminas-* composer requirements for old magento versions
- Fix guzzlehttp/psr7 requirements
- Added missing laminas-dom dependency
Page Speed 1.7.0
17th March 2023- PHP 8.2 compatibility
- Resize only important image types
- Add standalone Resizer.php and Scaler.php models
Page Speed 1.6.6
28th January 2023- Prevent: PHP8.1 Deprecated function trim(): Passing null to parameter
- Force to string converting before Minify_HTML
- Don’t minify data-breeze scripts (fix for JSMin: Unterminated RegExp)
Page Speed 1.6.2
30th December 2022- Fix: Notice: Undefined property: ParamsBuilder::magentoMetadata
- Off caching (‘private’) content for logged in customer(s)
Page Speed 1.6.0
23th November 2022- Fix backward compatability with old magento versions (2.4.1)
- Failure image optimising command only if All optimisers Not Executable
- Added image optimization via remote API
- Fix for require([‘vimeo/*’], …) magento/magento2#36435
- Add new composer requirements guzzlehttp/guzzle
- Improve CheckImageOptimizerExisting
Page Speed 1.5.14
22th September 2022- Update composer requirements
- Fix removing empty
- Remove dublicate messages
Page Speed 1.5.13
30th September 2022- Update advanced js bundling configuration (magento 2.4.5)
Page Speed 1.5.12
20th September 2022- Add pagebuilder integration (data-background-images)
- Remove all occurences of sourceMappingURL and sourceURL when JS files are aggregated
Page Speed 1.5.10
20th August 2022- Prevent Deprecated Functionality: strpos() in php 8.1
- Fix wrong user agent detection
- Removed jquery.cookie from deps (fixed Magento 2.4.5 broken add to cart)
- Do not add requireJs lazy loading script if module is disabled
- Fix phpstan errors
- Fix MEQP warnings
- Prevent not isset notices
Page Speed 1.5.7
31th May 2022- Fix: Don’t add negative sizes
- Fix: Implicit incompatible float to int conversion is deprecated, float array keys
Page Speed 1.5.5
10th April 2022- Fix: Don’t add negative sizes
- Fix: Implicit incompatible float to int conversion is deprecated, float array keys
Page Speed 1.5.4
10th April 2022- Fix: CSS improver break svg icons xmlns inside critical css
Page Speed 1.5.2
29th January 2022- Fix: TypeError: strlen() expects parameter 1 to be string, null given
- Replace \Zend\Dom => \Laminas\Dom
- Fix: Avoid using self-closing tag with non-void html element
- Don’t defer css loader script (fix pagespeedCss is not defined)
- Improve image service generators
- Improve option(s) logic in swissup:pagespeed:images:resize command
- Supress symfony process runtime exception (in image optimize)
Page Speed 1.4.26
18th August 2021- Fix class Optimizers\Cwebp not found
- Add optimization for View\Result\Layout cabbfb
- Fix 'isset() will return false' part
- Fix lose 'quality' param
- Fix logic 'isset() will return false when checking a variable that has been assigned to null
Page Speed 1.4.25
28th July 2021- Add our custom OptimizerChainFactory(without svgo)
- Rename our cwebp optimizer to ConvertToWebp
- Add CheckImageOptimizerExisting getMessages
- Remove dublicate checking cwebp
Page Speed 1.4.17
17th May 2021- Fixed incorrect image/picture tag markup when responsive images is used, but the images itself are not ready to use (not found).
Page Speed 1.4.17
27th April 2021- Breeze integration added.
- Fixed broken html when using critical css feature.
Page Speed 1.4.16
27th April 2021- Enable defer/critical css only on cms,catalog pages
- Disable build-in magento asyncCss on not allowed pages
- Added checking is image optimization was already enabled before CLI command run
Page Speed 1.4.16
7th April 2021- Fixed invalid font url when deploying theme from terminal
Page Speed 1.4.14
7th April 2021- Fixed invalid font url when deploying theme from terminal
Page Speed 1.4.14
30th March 2021- Added synax highlighter to the “Advanced bundling” and “Default critical css” config options.
- Decreased layout shifts when using image lazyload feature.
- Fixed now working WebP images when original IMG has only src attribute.
- Added ability to use {{pagespeed_asset_url}} in critical css. This feature allows you to include font or background urls as shown below: src: url('/fonts/opensans/light/opensans-300.woff2') format('woff2');
Page Speed 1.4.12
26th November 2020- Add –with-custom, –with-product options to ImagesResizeCommand.
- Advanced bundling improvement - better file resolving when minify js is enabled.
- Small code improvments.
Page Speed 1.4.11
23th September 2020- Added preloading for custom resources.
Page Speed 1.4.9
25th August 2020- Fixed broken mobile styles when critical css is enabled.
- Fixed js error when require.js loaded from CDN.
Page Speed 1.4.9
6th August 2020Improvements
- Minimize layout shifts with own css loader.
- Don’t push/preload images from
- Fix webp+picture and lazyload data-srcset bug combination.
- Config refactoring.
- Fixed not working url to the CriticalCSS generator service.
Page Speed 1.4.6
17th July 2020Improvments
- Added alternative recommendations
- Added requirejs.nextTick setTimeout => requestIdleCallback
- Added experimental idle forced requirejs loading
- Improved getRjsJsonConfig function
- Added Preloder (http2pusher before)
Fixes
- Do not show filepath as config value if it was mistakenly written to config
- Do not show critical file path when config is not saved and file is not exist
- Fixed removing script(s) with ignoring attributes (ex:data-defer-js-ignore)
Page Speed 1.4.3
17th June 2020- Fixed //pub/static/ in font url
- Fixed in remove empty ‘criticalCss’
- Improved js config options sort order
Page Speed 1.4.1
15th May 2020- Add font http/2 pushing
- Add ignore defer js signatures
Page Speed 1.4.1
30th April 2020- Do not execute image resize task too often
- Magento 2.3.5 CSP compatibility
Page Speed 1.4.0
28th April 2020- Added ANALYZE; google pagespeed integration in config
- Add image optimize cron schedule
- Added filename filter argument to ‘images:resize’ console command
- Added limit filter argument to ‘images:resize’ console command
Fixes
- Fix (remove) empty data-type=”criticalCss”
- Move dublicate code in abstract class (custom config fields)
- Added comments about heavy server load for some features
- Add ‘data-srcset’ attribute to prepare list in WebP optimizer
Page Speed 1.3.17
20th March 2020Fixes
- Fix umlauts in image name bug
- Fix C14N internalization bug
- Fix php DOMDocument utf-8 international string (add prefix \xEF\xBB\xBF)
- Remove code dublicates
Improvments
- Improve bundling r.js config (swissup themes integration)
- Move require js config default value into separate file rjs.json
- Add AbstractImage optimizer
- Image opimizers code was refactored
- Move htt2push to construct di
- Update lazysizes.min.js version to 5.2.0
Page Speed 1.3.15
17th February 2020Features
- Marketplace data added
Page Speed 1.3.13
12th February 2020Features
- Fixed memory problem on some environments
Page Speed 1.3.12
3rd February 2020Features
- Fixed webp.webp.webp naming inside js
- Fixed $ext var notice
Page Speed 1.3.11
27th January 2020Features
- Ignore ‘text/x-magento-template’ in deferJs
- Added custom img attributes for webp optimiser
- Fixed webp naming inside js
Page Speed 1.3.10
21th January 2020Features
- Fix: backward compatability with magento 2.[1-2] was added
- Add bugfix patch for ‘segmentaion fault’ with cacheInterface plugin
Page Speed 1.3.9
15th January 2020Features
- Add integration with option ‘Use CSS critical path’
- Minify block_html before save to cache (#17)
- New naming rule for webp files, name.jpg => name.jpg.webp
Fixes
- Fix possible bug ‘sent too big header’ http/2 over 4k (nginx max)
- Fix advanced js bundlimg with .min.js suffix
Page Speed 1.3.6
25th November 2019Features
- Move fast image initialization to adapter
- Add AbstractCachableOptimiser class
- Add local cache in webp optizator
Fixes
- Fix gzip checking (h2+zend1)
- Fix lazyload image placeholder with srcset+sizes by html spec
Page Speed 1.3.5
1st November 2019Fixes
- Fix: Add root media files to resize images collection
- Fix: for webp images in media root located
- Fix: Warning: implode(): Invalid arguments passed for mage 2.3.0
- Fix: Pesponsive order media matching condition
- Fix: (Safari+webp) Don't change original url if
- Fix: Intagrate lazyload and
Page Speed 1.3.4
19th Augsut 2019Features
- Add bundling from minified sources
- Improve image resize command
- Add bunling option docs link
Fixes
- Fix: background notice in magento 2.2
- Fix: logic to add
Page Speed 1.3.2
26th July 2019Features
- Add advanced js bundling
- Add lazyload custom config options
- Dublicate move_inline_to_bottom config option
Fixes
- Remove native curl function calls; Improve HTTP/2 checking
- Remove get_headers() from gzip checking
- Fix http/2 push for remote links
- Fix: apache_get_modules() function does not exist in php-fpm
- Fix: escaped tag(s) in text/x-custom-template
- Fix: bug remove comments in x-custom-template(s) if start with comment ‘)
Page Speed 1.2.5
27th June 2019Fixes
- Fix srcset logic in responsive optimiser
- Improve dimensions checking at image resize command
Page Speed 1.2.4
8th June 2019Features
- Add webp logic for images inside x-magento-init (fotorama at product page)
- Move js polyfills initialization to requirejs-config
- Upgrade lazysizes to 5.1.0 version
- Upgarde loadCss js library code
Fixes
- Fix empty html warning in dnsprefetch
- Fix ‘Warning: strpos(): Empty needle’
Page Speed 1.2.3
21st May 2019Fixes
- Compatibility with Swissup_ProLabels module. Previously there was an issue when HTML minification enabled - some labels do not render.
Page Speed 1.2.2
15th May 2019Features
- Remove using php DomDocumenr save HTML
Fixes
- Added
- Fixed paypal x-magento-template’s bug
- Fixed :Uncaught Error Class ‘Swissup/../Gallery’ not found
Page Speed 1.2.1
18th March 2019Fixes
- Added translates
- Fixed GZIP test url in config
- Small code improvment
- Fixed magento 2.2.5 integration
Page Speed 1.2.0
26th February 2019Features
- Add Responsive Images feature
- Add HTTP/2 support
- Add webp image support
- Add console command swissup:pagespeed:images:resize
- Add font-display:swap by default for @font-face in merged css
- Add profiling
Fixes
- Fix ignore lazyload bug
- Fix Zend_Dom_Query class not exist
- Fix </script> inside scrip
- Fix undefined CURL_HTTP_VERSION_2_0
- Fix gzip checking
- Improve deferjs optimizer
- Add AMP checking ?amp=1
Page Speed 1.1.0
23th October 2018- Fixed set expires for all page
- Added debugging traps
Page Speed 1.0.1
12th September 2018- Improved defer css. add onerror
- Fixed null response
- Override _removeScriptCB (add exceptions for application/ld+json, etc.)
- Added critical CSS
- Fixed: View and view dir after unzip
Page Speed 1.0.0
21th August 2018- Minify HTML content
- Optimise catalog images (optimisation tools)
- Optimise css delivery (loadCss)
- Add critical CSS
- Add image lazy loading
- defer js (Remove render-blocking JavaScript)
- Add dns-prefetch
- Add Expire header
- Auto add specify image dimension
- Add developer mode compatibility
- Test GZIP compression
Questions (5)
Questions:
1
vote
2
Answers
Posted by Karol, Tuesday, February 12, 2019 on product M2 Page Speed
-
0voteA: Magento 2 already has js merge and our extension already support it. Please notice that it works only in production mode by default.Posted by Peter Damien on Tuesday, February 12, 2019
-
0voteA: We are considering improving that feature in order to generate only required js files for each page.Posted by Peter Damien on Thursday, February 14, 2019
0
vote
1
Answer
Posted by Jason Ratzlaff, Friday, October 27, 2023 on product M2 Page Speed
-
0voteA: Page speed moduels works fine with Breeze but only one feature you need from it is WEBP image support.Posted by Dymitr D. on Friday, October 27, 2023
Posted by Jay, Tuesday, September 1, 2020 on product M2 Page Speed
-
0voteA: You can use either path to file or script signatures. For example you can use signature data-defer-js-off and all scripts with such signature will not be deffered.Posted by Peter Damien on Thursday, September 3, 2020
Posted by Artis Bono, Friday, August 9, 2019 on product M2 Page Speed
-
0voteA: It just small AWS server with Nginx installed. You can get similiar results on Shared hosting that supports all Magento 2 requirements.Posted by Peter Damien on Friday, August 9, 2019
Posted by inder rajput, Tuesday, August 6, 2019 on product M2 Page Speed
-
0voteA: Please open ticket. Our developers will check what is wrong. Most likely installation was not finished.Posted by Peter Damien on Tuesday, August 6, 2019
Please login to your account to post a question
Just say you need third-party compatibility for free!
If you require third-party modules in order to accomplish important tasks for your website - we do provide a support for them. Feel free to install extensions you can vouch for. We'll keep them up to date that will help you to maximize your store efficiency. Request third party modules integration for free! This offer doesn't cover integration of Breeze alternative Magento 2 frontend with modules from other companies.