1 Attachment(s)
How to Enable GZIP Compression and Minify JS, CSS files for Speed Optimization
Before you apply the below illustrated steps make sure you check your website loading speed by utilizing GTMetrix or Google PageSpeed Insights. That will help you to differentiate between the results. Everything is not perfect similarly for converting your Magento 2 store to the best there are few tricks that help in increasing the speed of your Magento 2 store. This blog will help you with Magento 2: How to Enable GZIP Compression and Minify JS, CSS files for Speed Optimization.
Attachment 15735
Methods for Speed Optimization in Magento 2:
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
For more details: How to Enable GZIP Compression and Minify JS, CSS files for Speed Optimization