How to Enable GZIP Compression and Minify JS, CSS files for Speed Optimization

in #magentotutorials4 years ago

Methods for Speed Optimization in Magento 2

How-to-Enable-GZIP-Compression-and-Minify-JS-CSS-files-for-Speed-Optimization-in-Magento-2-950x500.png

Enable GZIP Compression
Check first that your mod_deflate is on in Apache. You can verify by making an info.php file and then call phpinfo(); You will get the output as server PHP / Apache specification in the browser.

JS Minification and Merge/Minify CSS
Goto Stores>Configuration>Advanced>Developer>JavaScript Settings

Modify the configuration as per the following Screenshot.

For more details: https://magecomp.com/blog/magento-2-enable-gzip-compression-minify-js-css-files-for-speed-optimization/

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.029
BTC 59536.13
ETH 2366.24
USDT 1.00
SBD 2.53