Chat with us, powered by LiveChat

This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

Is Your Magento Website Slow? Check Out These Magento Optimization Tips & Fixes

June 24, 2019

5 Min Read
Magento Optimization
Reading Time: 5 minutes

Magento is a resource-heavy ecommerce platform that requires the right amount of resources and configurations to work perfectly. Even if you have a sound infrastructure, there is a chance that the Magento installation will run slow. And that’s why we have discussed some of the best Magento speed optimization tips for improving the performance of your Magento store.

Developers who are responsible for maintaining your Magento store in the live environment should use the best Magento performance optimization practices. This will allow them to run their ecommerce stores at peak efficiency 24/7. We have described these Magento optimization tips in detail below.

  1. Choose The Right Magento Hosting
  2. FPC For Magento 1.x Stores
  3. Skip Built-in Cache, Use Varnish
  4. Redis or Memcached Not In Place
  5. Keep Updating the Indexers
  6. Inspect 3rd-Party Modules
  7. Enable Magento Flat Catalogs
  8. Get Help From CSS/JS Minification
  9. Speed up Search Results With ElasticSearch
  10. CDN For Magento performance Optimization
  11. RM -RF * Database Logs
  12. Switch To Production Mode

Choose The Right Magento Hosting

To start with Magento optimization, make sure your Magento store loads faster, consider hosting it on a provider that is reliable and helps boost sales and revenue.

Rather than thinking about shared hosting, consider hosting your Magento ecommerce store on a cloud provider like Cloudways that offers managed Magento cloud hosting experience with the 1-Click installation. It should be fully supported and optimized for web hosting stack.

Scale Your Magento 2 Store With Ease

One-Click Magento installation with your own managed hosting solution.

FPC For Magento 1.x Stores

If an extension has a direct impact on the load time of your Magento store, then your sales can be converted very efficiently.

To make sure you have high sales conversion, use Full Page Cache (FPC) extension for Magento 1.x stores and speed up landing pages, and decrease server load time. It will also help you rank better on Google.

You can also use other extensions available for Magento such as the Cloudways Full Page Cache powered by Amasty.

Note: The Cloudways FPC module is free for all Cloudways customers.

Skip Built-in Cache, Use Varnish

This Magento Optimization tip is related to Varnish Cache. Magento 2 comes with a built-in Varnish solution. It offers perfect performance combo to increase performance significantly.

In the previous versions of Magento platform, we had to install modules like “Phoenix” or “Turpentine” to integrate Varnish with Magento platform. But in Magento 2, the Varnish integration is provided by default, resulting in super-sonic Magento speed and performance.

Memcached or Redis

Both are the distributed memory caches that speed up large-scale web applications having dynamic databases. They reduce the load of database requests on servers and display data through cache whenever an external data source requests it.

Redis or Memcached is a high-speed backend cache with full cache tag support, no need for low-level file system cache, and on high traffic Magento stores, the performance is excellent and stable.

Here is the Magento Memcached configuration guide and Magento Redis installation tutorial on Cloudways.

Keep Updating the Indexers

Magento allows you to work with a bulk quantity of data, reducing the load-time. To overcome this hindrance, Magento needs to reindex its indexers because the core system updates indexers on every object stored by default. But in some cases, manual updates are required.

Indexers can be updated at any moment from the admin panel of Magento 1. But for Magento 2, you have to execute a CLI command php bin/magento indexer:reindexon the root directory using SSH terminal.

Inspect 3rd-Party Modules

For Magento optimization, it is necessary to inspect 3rd-party extensions as well. Turn off every module one-by-one, clear its cache, and see if it creates an impact on your Magento store’s performance.

Make sure to test all the essential CMS pages, homepage, category pages, product pages, checkout pages, etc. If you disable a Magento module and the store becomes faster – it means you have found the crook.

Immediately contact the extension providers, ask for a refund, and let them know about the issue you have faced.

Enable Magento Flat Catalogs

All of your data is saved in an Excel-like Magento database. When Magento limits are filled, it “spills over extra data.” This slows down the store.

You may reduce the effects of the “spilled” data by enabling Magento Flat Catalog Category and Flat Catalog Product. It will cut the response time as well.

The Flat Catalogs enable Magento store to improve performance and match the same items with DBs from the first table.

A Little Help From CSS/JS Minification

Merging and minifying CSS and Javascript files can make the Magento web page as light as possible for the fast loading speed. Instead of sending like 50 to 100 requests, the browser will only send 2 requests. On top of that, if we minify them, we could also benefit from a lower request size.

Speed up Search Results With ElasticSearch

Elasticsearch provides full-text searching at a very high speed. It offers a fast web content search capability because of an indexing service running on the server instead of searching the entire database for the match.

Elasticsearch is valuable in keeping your Magento store search precise and faster in performance for your potential visitors. It enhances the user experience and makes sure that customers can make good use of their time on your Magento store.

CDN For Magento Speed Optimization

A Content Delivery Network (CDN) is a useful tool to cache the static content of Magento store such as CSS, Javascript, images, videos, fonts, etc. This way, Magento stores get a faster response in very less time.

In addition to supported geographical proximity, CDN will always take over your server and deliver static web content to improve page loading time.

RM -RF * Database Logs

Magento has contributed a great deal to the ecommerce industry, but its database performance is still not up to the mark. However, it can achieve excellent performance when its logs are removed. This decreases the lag in process execution and makes the performance of the web store even better.

You might be perfect in all aspects, but should still practice a precaution and make a backup of your database before cleaning up the Magento database logs.

Switch To Production Mode

The last and the most important thing is to run Magento 2 store live environment in ‘Production Mode.’ Note it down as a priority task in this Magento speed optimization checklist.

Magento 2 has three modes: default, developer, and production. Make sure you always put your Magento 2 store in ‘Production Mode’ to speed up Magento 2 significantly.

This mode is optimized for performance. It is the one you should use on live Magento store since ‘Production mode’ will get you the best user experience.


Among so many things, speed is one of the most dominant factors for the success of an ecommerce store. A rapid Magento store responds quickly, converts more customers, and brings happiness to the visitors, which automatically leads to an increase in sales and revenues.

On the other hand, a slow Magento web store would make customers run away from the store, resulting in loss of sales. This is why it is essential that Magento developers should know how to optimize Magento performance.

Share your opinion in the comment section. COMMENT NOW

Share This Article

Boost Your Magento Store Performance by 5x Times & Maximize Your Sales

Our fastest Magento hosting can help you in growing your business revenue by 500%

Fayyaz Khattak

Fayyaz is a Magento Community Manager at Cloudways - A Managed Magento Hosting Platform. His objective is to learn & share about PHP & Magento Development in Community. Fayyaz is a food lover and enjoys driving. You can email him at

Get Our Newsletter
Be the first to get the latest updates and tutorials.

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

BFCM 2019