Speed up Magento in Easy steps?

We learned from a lot of magento project for years, the magento speed is the key to make customers/users happy but it take us a lot of time to optimize too. So let ‘s take it easy by following these steps to Speed up MagentoWe are pretty sure you will be happy with the result.

Speed up Magento

Magento is feature-rich, professional open-source ecommerce solution that offers merchants complete flexibility and control but it require a good platform what is configured right for it to run it fast. Almost people will think Magento is too slow but they will never know that Magento can run very fast if you make the right choice and do the right way base on their platform feature requirements. Just need to solve the magento speed problem then it ‘s really a perfect ecommerce solution. Ok, I know we are still in a big question: How to Speed up Magento?

Let ‘s go through 5 ways to speed up magento base on our development from 2008, we are sure it will help you have a good speed for your magento site.

1. Speed up Magento by Clean database log

It ‘s easy to understand that your magento can’t work well with a huge database. Many store keep too much the data they ‘ve never used. So let ‘s clean it in easy way by Optimize magento database by Cleaning log . It shouldn’t take you more 30 minutes to do but get a very good effect.

2. Caching configuration for Magento

Magento is designed so it focus to caching very much to have the best performance, but the default caching engine of magento is File System. They use it just because all of servers support it.  But File System cache is the slowest caching engine. We need to configure magento to get it faster by other caching engine. My experience about speed up magento by caching engine is this flow from slow to fast.

File System => APC => Memcached => Redis cache => Varnish cache

The question is: why we don’t use Varnish cache in the most performance speed for all of magento sites? Because it take an advantage development and maintain so that only use it in the case you really need a very high speed. Maybe you don’t know that you can speed up magento roughly 200 times in practice with Varnish.

3. Magento server configuration optimization

This is a long instructions to speed up magento by server optimization. Basically, you need a very good magento hosting to get it make sense to do all of configuration or it just make your magento site crash and doesn’t work. Instead of play around too hard with server configuration and installation, I will show you how to choose a very good hosting with good price and support.

It is not easy to choose a good magento hosting provider to get your magento work well. The most case you only need shared web hosting what support everything for Magento. And your hosting provider must have magento expert to help you solve problem come from Magento. Our recommend is SiteGround Magento Hosting package. They have everything you need include Memcached what can help you speed up a lot.

And finally, the last thing after you buy a good host is follow this article instruction How to Optimize Magento Performance?

4. MySQL configuration optimization

A little bit advance but let me bring to here too. If you’re a mysql hero, you don’t need me to tell you how but we want to try and get the following settings in your my.cnf


query_cache_type = 1
query_cache_size = 32M
query_cache_limit=2M

If you don’t have root access to check /etc/my.cnf (or /etc/mysql/my.cnf) variables, then login to mysql or use phpmyadmin to show variables.


$ mysql -u mysqluser -p magento_database_name
$ mysql> SHOW VARIABLES;

And finally do a little setting for php.ini

php_value memory_limit 128M

5. Advantage performance optimization

– This is come in a too complex works what I can’t write everything here. Basically, the magento system is complex and one of the way to speed up magento is make strategy for caching in process workflow. This can be done by Full page caching extension.

– Another caching way what can help you a lot in caching with combine server and magento process is Varnish caching with Varnish magento extension. You can find out here. But it is not easy to install and configure at all.

If you need help for this you can contact us to have a quote for your site.

23 Responses to “Speed up Magento in Easy steps?”

  1. Philip says:

    I followed all of steps above and I see my site faster a lot, but I wonder if I even make it faster? One more thing I don’t know is what is the good speed for magento? 1 sec/page load or 2 sec/page load? Thanks and good luck for the speed up magento works.

    • Magento2X says:

      How many product in your magento site? And what is your hosting package?

      Because a hosting will be designed for the limited resource, so that let ‘s say you have a very simple site with < 50 products and < 500 visits/day then you are fine with Starter (lowest package) of SiteGround Magento package

  2. Laura K says:

    I am wondering when we buy a hosting, does they do the optimization on server for us or we have to do ourselves?

    • Awer says:

      Of course, they do it for us. Actually, they do it for them. Because if their server don’t work well and your site take a lot of their resource, they will have no way to make money. But we will consider to choose the company who can do the optimization and make it work well. Not many companies can do that, you know.

  3. Jenifer says:

    The step (3) I see you are talking about server, I think you should put it on the top because if the server/hosting is not good then all of other steps will not work too.

    • Magento2X says:

      Thanks Jenifer, I hope to put (1) and (2) for customers who already got the good hosting but they don’t know how to configure. I wish they can make their magento site faster a lot after (1) and (2) then they don’t have to buy any other hosting. But if they still can’t get it fast, so it ‘s time to buy the good magento hosting.

  4. Brad says:

    I think the most important step is “3. Magento server configuration optimization”, if we don’t get the server/hosting work well with magento then other steps are just waste time. I did all of steps until I move to new hosting in step (3) then everything become fast. Just want to share you guys here!

  5. Linda says:

    Thanks for that useful info!
    I’m using full Page cache extension by Amasty now, it works great for me.
    You can also read this interesting research
    http://blog.amasty.com/amasty-research-how-fast-can-magento-be-with-full-page-cache/

  6. Kai says:

    Do you have any suggestion for full page cache solution for magento? Thanks

  7. Fahad Rafiq says:

    In order to speed up the Magento Admin Panel, you need to:
    1. Set up Varnish cache
    2. Tune up the database
    3. Clean up the cache
    4. Delete unused extensions
    5. Delete out-of-sale products
    6. Reindex your products

    In order to speed up Magento Frontend performance, you need to:
    1. Compress the output
    2. Use Expires Headers
    3. Merge CSS files with JS files
    4. Use Memcached
    5. Use Parallel Downloads

    For more information, download the e-book, 11 Definite Ways To Speed Up Magento Websites, now.
    http://www.cloudways.com/en/speed-up-magento-website.php

  8. KaoPad says:

    It help my magento site faster at least 4x after doing your instruction. That ‘s cool. But I even want to make it faster. How can I do more to optimize? I see some other magento site, they make it faster my site a lot.

  9. Jackie boo says:

    Just one word – Nice. you did a great job to provide us this tutorial, it ‘s really helpful to make magento work faster. Thanks

    • Magento2X says:

      Thanks Jackie. Actually, speed up magento page load is a big work, we will face to the big problem if the site become too big. I mean the big data with thousands of products and customers. In this case, we need some special configuration from server to make it work fast enough.

  10. Hamled says:

    It ‘s cool to know a very simple way to speed up magento, but I think you should update more about one page cache extension or minify javascript/css. It would be nicer.

  11. Zenmad says:

    Speed up magento need an important step is install and configure full page cache extension but you don’t have that step, do you? I think it will be perfect if you update this article about installing magento full page cache extension. Thanks

    • Magento2X says:

      Speed up magento steps need install a full page caching solution. Base on your skills, you can choose from many free or paid options. We will update soon many options for you in this field

Trackbacks/Pingbacks


Leave a Reply