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.

Our Magento Customers Get 1-Click Hosting and 0.37ms Load Time. Get FREE $20 Credit with Promo Code 'BOOSTMAG.' Join Now!

Slow Webstore? Check our Magento Website Performance Optimization Tips for a fix

Updated on April 13, 2017

5 Min Read
Reading Time: 5 minutes

Magento is one of the most used ecommerce platforms by developers around the globe. When Magento was first introduced, it became a pioneer in offering flexibility to its users. Even though it is a very successful ecommerce platform, it does have its own shortcomings. One of the major challenges in using Magento is how to optimize Magento performance.

Super fast Magento website

It is a resource-heavy ecommerce platform that requires a right amount of hardware resources. Just type in “Magento speed” on Google, and you will find many web pages complaining about Magento’s growth pains. However, by following a few simple tips, you can boost up the speed of your ecommerce store.

  1. Full Page Caching
  2. Memcached Not In Use
  3. Indexes (not up to date)
  4. Disable Magento Compiler
  5. Cleanup Database
  6. Enable Magento Flat Catalog Category
  7. Choose better hosting for your Magento website

Magento, due to its backend PHP Zend framework, can provide its merchant users with greater flexibility and help them to take their business to the next level.

You should not just put sole responsibility of slow speed on Magento. If you are using a web hosting service which is hosting numerous websites on a single web server, then you should not expect Magento to function smoothly, especially if it’s working on its default configuration. There are the number of settings available on Magento through which you can increase the speed of your Magento website. This article is going to help you to speed up your Magento store by making some small changes in the configurations of your web store.

1. Full Page Caching

If an extension has a direct impact on the load time of your website, then your sales can be converted very efficiently. To make sure you have good sales conversion, use the Full Page Cache tool to increase the speed of the page and decrease your server load at the same time. It will also help you rank better on Google.

There are other extensions available, but I would suggest our clients to use the Cloudways Full Page Cache powered by Amasty.

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

2. Memcached Not In Use

Memcached provides a unique system of general purpose administration memory caching. It can be implemented on websites whose database can be controlled and operated by caching data and items, which decreases the number of times an exterior database (API, database) must be read in RAM.

Enable Memcached For Magento

Magento has native support for Memcached. But you need to enable this option by yourself.

If you are on Cloudways, you only need to check if Memcached is active in the Services section of the Server Management tab. If you are anywhere else, here is what should do.

To enable your Memcached, you need to edit your Magento local.xml file. This file is stored inside your Magento folder/app/etc/local.xml. Open your local.xml file and search for this code </config> and add the following code after this line:

<!-- apc / memcached / empty=file -->
<!-- memcached cache backend related config -->
<!-- any number of server nodes can be included -->

Note: Please replace port number <![CDATA[11211]]> 11211 with the correct port number of your hosting account.

3. Indexes (not up to date)

Magento’s system is quite strong, but it is a bit complicated as well. It allows you to work with an enormous quantity of data, which makes it slow to load. To overcome this hindrance, Magento store owners need to manage their indexes as they provide extra database tables that allow rapid acknowledgments from the database.

The core system updates indexes on every object store by default, but in some cases, manual updates are required. Indexes can be updated at any moment from the Admin backend, but sometimes there may be some issues. For example, indexing may take hours if you have many categories. Exceeding max-execution-time can cause breaking of the PHP script. The solution to this problem is to reindex from the command line.

4. Disable Magento Compiler

Before installing a new extension or upgrading (or downgrading) an installation, you must disable Magento Compilation module. For this, there is a setting present in the Admin panel under System > Tools > Compilation, by which you can collect and arrange all your files into more available blocks of HTML.

5. Cleanup Database

Magento system has contributed a great deal to the ecommerce industry by giving remarkable strength and firmness to it. However, its database performance is still not up to the mark. A sustainable database is the requirement of every ecommerce store to exchange or deliver a significant number of products and services online. Magento has been able to achieve excellent performance when its logs are removed. This is useful in decreasing the lag in process execution and makes the performance of your web store better.

The techniques mentioned are perfect in all aspects, but you should still practice precaution and make a backup of your database before cleaning it up. You can select one of the followings to take backup of your current Magento store:

  1. To backup data automatically, use Automatic DB Backups.
  2. Use a PHP administration software (like PHPMyAdmin, etc.) and take the entire dump on your system. (On Cloudways, you can use the MySQL Manager that is present inside the Application Management tab.)
  3. Use Magento’s built-in profilers to export entire database.

6. Enable Magento Flat Catalog Category

All of your information is saved in an Excel-like 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 Flat catalog category and catalog product. This will cut the response time as well.

Flat catalog enables your website to become better in performance and permits Magento site to match the same item with DB from the first table.

To Enable Flat Catalog, go to System > Configuration > Catalog > Frontend and enable Use Flat Catalog Category.

BONUS: Choose better hosting for your Magento website

Among so many things, speed is one of the dominant factors for the success of an ecommerce store. A fast website converts more customers because it can manage and respond quickly to their requests.

A rapid site gives satisfaction and happiness to its clients which automatically leads to increase in sales. A slower Magento web store would make customers run away from your store to some other e-store, resulting in loss of sales. This is why it is important that magento developers should know how to optimize Magento performance.

To make sure your web store loads faster, you should consider hosting your Magento store on a provider that is reliable and helps you boost up your sales, because it won’t disappoint you on the speed factor. Consider hosting your Magento store on Cloudways, the fastest managed cloud hosting provider.

Share your opinion in the comment section. COMMENT NOW

Zain Imran

Zain Imran is a Digital Content Producer at Cloudways. He is an engineer and loves to learn about technologies. He is a sports and fitness freak.

Double Your Conversions with Magento Managed Cloud

Free SSL, Free Migration, Optimized Stack, Built-in Varnished Cache and much more.

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