Is Your Magento 2 Running Slow? Here are Some Simple Tricks to Speed It Up
Magento 2 is currently one of the most popular eCommerce solutions on the global market.
Magento is known for its many functionalities and robustness, which means that it copes with errors well. This is why more than 250,000 merchants worldwide use Magento as their eCommerce platform.
Well-known brands such as Ford, Christian Louboutin, Bulgari, and Liverpool FC use Magento for their online stores. Magento is not only a robust and functional e-Commerce platform but also a flexible one with huge potential. The fact that 7500 retailers switched to Magento from their previous eCommerce platforms in 2019 serves as proof for that.
Features and benefits of Magento 2
First of all, dynamic content display, promotion, and pricing personalization built inside this platform allow you to combine multiple features and boost your conversion rates. Secondly, you can target customers based on different properties, such as their order history, lifetime purchase value, wish list items, and many more.
You can also target unknown site visitors based on the products they have seen or added to their cart. For returning visitors you can boost conversion rates by offering them an instant purchase checkout option. Magento 2 has many powerful features such as dynamic rule-based product relations, content staging and preview, visual merchandising and elastic search features. They allow you to customize everything and improve your online store performance.
With Magento 2 being a robust system with many out-of-the-box functionalities, it can become slow. We encountered this problem often working with many clients with diverse stores and products, so we decided to develop a solution that will eliminate it. We started developing a custom solution - ZenCore. The main mission of ZenCore is to boost Magento performance and improve sales using top quality speed optimization.
Web page speed optimization is also one of the core settings when it comes to search engine optimization, and it plays an enormous role in how your store is going to perform in the search engine results page (SERP).
In the process of optimization for the ZenCore custom solution, our goal was to optimize every feature of Magento that could have better performance. One of the first steps, and perhaps the simplest trick, was to disable modules that did not serve our clients’ purposes. The modules that can be disabled in Magento 2 to optimize its speed are those that do not depend on the operation of other modules. We will now go on to explain how to do this.
How to display Magento 2 module list?
If you want to find a complete list of modules installed on your Magento 2, follow these steps:
- 1. Log in to your Magento 2 installation root folder: use SSH via Terminal.
- 2. Use the command
php bin/magento module:statusto see a full list of Magneto 2 enabled/disabled modules.
- 3. Be careful not to disable any modules you need to function.
- 4. Be careful not to rely on Magento 2 modularity because there may be hidden dependencies.
Which Magento 2 modules can I disable?
When you want to disable a module, use the command
php bin/magento module:disable and then type the name of the module you want to disable. For example, if you want to disable Amazon Login module use the command:
php bin/magento module:disable Amazon_Login \
Some other modules that you can disable are:
Amazon_ (login, payment, core)
Klarna_ (order management, Kp, core)
Magento_ (DHL, Fedex, Marketplace, Multishipping, Authorizenet, SampleData, SendFriend, SendFriendGraphQl, SwaggerWebapiAsync, SwaggerWebapi, Swagger, Usps, Ups, Braintree, BraintreeGraphQl, Signifyd, NewRelicReporting, Version, Webapi, WebapiSecurity)
Why and how is disabling Magento 2 modules helping speed up my store?
The uncached loading time of Magento 2 stores can drop by up to 30% if you disable modules that can be disabled, and that do not depend on other modules. The general performance increase will not be exactly 30% on the live server, but the difference will be noticeable. Also, during the development phase when you clear cache frequently, you will notice a big difference. Besides, admin users will not lose their time on configuration features and options which are not crucial for your project.
Even though it is a big step forward compared to Magento 1, for complete modularity and speed performance, the need for optimization in Magento 2 still exists.
Disabling the right modules will allow you to gain much better performance. However, you have to be careful when doing so. You do not want to disable the modules that will come in handy in the future and leave those that seem necessary now but are actually not.
If you need guidance or help in speeding up your Magento 2 store, do not hesitate to reach out to us. Our team of Magento experts will gladly talk to you about various options and advise you on how to boost your overall Magento store performance.
Is Your Magento 2 Running Slow? Here are Some Simple Tricks to Speed It UpJan 05, 2021
2000 Magento 1 Stores Hacked in Largest Magecart Attack So FarSep 17, 2020
(SPA) Single Page Application Mobile Development Best PracticesAug 03, 2020
Senad on FACE TV speaking on entrepreneurship.Jul 17, 2020
Choosing the right mobile development language in 2020May 28, 2020