Minify and Merge CSS in Magento 2.x:
- Minify an merge CSS will be more helpful in website performance level.
- Magento2.x is having the admin option to minify and merge the CSS from admin configuration.
- We have to make status as Yes.
- After change the status, clear cache , run setup static content deploye once with necessary folder permission.
- Minify CSS : This will remove unwanted code from the CSS file’s.
- Merge CSS : This will merge all the CSS files together as single file. Due to this http request count will reduce.
How to Enable:
Admin – Stores – Configuration – Advanced – Developer