In this article we’ll show you, how to Optimize Resource Files in Magento 2. Follow this simple guideline…
Step 1: Get Started
Login into Magento Admin Panel and from sidebar go to, Store > Settings > Configuration.
Step 2: Optimizing Resource Files
Now from sidebar, Go to Advanced > Developer.
To optimize CSS files, Expand CSS Settings section.
Then, do the following.
- Merge CSS Files: Set to Yes.
- Minify CSS Files: Set to Yes.
To optimize JavaScript files, Expand JavaScript Settings section. Then, do the following.
- Merge JavaScript Files: Set to Yes.
- Minify JavaScript Files: Set to Yes.
To optimize PHTML files, Expand Template Settings section. Then, do the following.
- Minify HTML: Set to Yes.
When complete, click on Save Config button.
Yeah Done! This way you can Optimize Resource Files in Magento 2. Let us know in the comment section below if you have any question. We are happy 🙂 to help you!
Write an article about ecommerce that help people to grow their ecommerce business. You’ll find best ecommerce guide, news, tips & more!
May 4, 2020 at 5:21 pm
Thank you for your informative post. Great job!