‘Magepow’ is having a free extension to optimize the website and increase the performance
MagePow Speed Optimizer
The speed of your website is slow, which has a negative effect on Google rating and ranking and especially on the customer experience. Magento 2 Speed Optimizer or Magento 2 Speed Optimize (also known as Google page speed optimizer Magento 2) of Magepow will help speed up your website.
Hight Lights
Highlight Features
- Easy To Enable/Disable
Disable and Enable the module whenever you want in Admin Panel. - Preloading Body
Allow applying Preloading Body and upload Loading Body placeholder
Allow applying Preloading Images and upload Image placeholder - Lazy Load
Ability to exclude Images that you don’t want to apply lazy load and preloading based on Image classes (use comma to separate).
Support for placeholder images to keep the layout of the website not broken when the site isn’t loaded completely.
Allow setting the place that you want to apply to lazyload from that to bottom by busing ID or class of the block.
This is ideal for those who don’t want to apply lazy load to the page-top such as the header or top banner slider. - Minify/Defer Files
Support minify javascript inline
Defer javascript: move Javascript to page bottom. A script that will not run until after the page has loaded (This is abandon magento avaiable feature in Admin Panel > Stores > Configuration > Advanced > Developer > Javascript Settings > Move JS code to the bottom of the page => Choose “Yes” )
Support minify CSS inline - Easy To Customize
Scripts and Style Sheets: This field is for who want to customize the lazy load, use particular scripts or style.
this can be installed using a composer command
composer require magepow/speedoptimizer
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
Or it can be downloaded from Git HUb and install as a extension on magento