How to Enable Merge CSS, JavaScript in Magento 2
All separated CSS files and CSS files and JavaScript Files can be merged into one single or condensed file that helps to optimize your site and reduce page loading time. After merging, a merged CSS file or Script Files will be shown without line breaks and be disallowed to edit the file. To enable Merge CSS, JavaScript in Magento 2 you can follow some simple steps which are given bellow.
How to Enable Merge CSS, JavaScript in Magento 2
To merge CSS files in Magento 2
- On the Admin panel, click
Stores. In theSettingssection, selectConfiguration. - Select
DeveloperunderAdvancedin the panel on the left - Open the
CSS Settingssection, and continue with following:

- In the
Merge CSS Filesfield, selectYes - When complete, click
Save Config.
To merge JavaScript files in Magento 2
- On the Admin panel, click
Stores. In theSettingssection, selectConfiguration. - Select
DeveloperunderAdvancedin the panel on the left - Open the
JavaScript Settingssection, and continue with following:

- In the
Merge JavaScript Filesfield, selectYes - When complete, click
Save Config.
Related Post
Recent Tutorials
October 28, 2019
Magento 2 get customer address custom attribute value
June 05, 2019
How to Install Magento Extension via Composer
Comments for Enable Merge CSS, JavaScript
People also searched for
- magento 2 merge css
- magento 2 merge js
- magento 2 minify js
- magento 2 combine js
- minify javascript magento 2
- magento 2 minify css
- merge javascript files magento 2
- magento 2 minify javascript
- magento 2 disable merge javascript files
- magento merge css
- magento 2 disable css merge
- magento 2 merge javascript files
- magento 2 merge js not working
- magento 2 css merge
- magento 2 minify js in production
- magento merge javascript files
- magento 2 minify
- magento 2 js bundling
- magento minify js
- minify javascript magento
- magento minify css
- minify js magento
- magento minify javascript
- magento 2 minify js not working
- magento minify js css
- enable compression magento
- magento minify css and js extension
- magento minify html
- remove version from css and js magento 2
- js bundling magento 2
- magento 2 minify js in production mode
- 2.2.x, 2.3.x
Subscribe
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!
Earn $10 in reward now!