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 A2 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

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

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.

60 thoughts on “Speed up Magento in Easy steps?

  1. 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.

    1. 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. I am wondering when we buy a hosting, does they do the optimization on server for us or we have to do ourselves?

    1. 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. 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.

    1. 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. 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!

    1. I used the same extension like you, but I use for my old hosting and it doesn’t work until I move to the new hosting company

  5. 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.

    1. Thank Fahad, it ‘s always nice to know more document to speed up magento. I will try to update as much as possible base on new document. Thanks again.

  6. 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.

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

    1. 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.

  8. 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.

  9. 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

    1. 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

    2. If you use the full page cache extension to speed up magento, I think you just need to use the free one. Don’t need to spend money for the paid one. But you need to spend money for support time.

    1. You can add this code in .htaccess to enable gZip

      <ifmodule mod_deflate.c>
      AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
  10. Hi,

    Install web accelerators like “Apachebooster” and the websites will load much faster than before.
    It enhances the cache and the performance of the site become much better.

    1. How can I install it? Can I request install it on shared hosting package? I see the suggestion from this post is SiteGround, I am wondering if their supercacher provide the solution better than Apachebooster?

  11. Magento is a popular open source CMS used by ecommerce based websites.

    magento website can be tuned and optimized for a better performance

    Step 1) by setting up magento caching

    Step 2) install fooman speedster extension

    Step3) Remove unused homepage code
    Step4) .htaccess expires (It needs mod_expires enabled in the server)
    Step5) Enable flat categories and flat products

    More info may be found from here : http://ndimensionz.com/kb/tweak-magento-website-for-a-better-performance/

  12. How about Varnish? Is it difficult to install and configure? Can you share an article about it? Thanks

    1. I think if you use CDN like MaxCDN then you don’t need varnish, it ‘s best for static cache anyway.

  13. very easy tutorial to speed up magento, it work really cool. I figure out that one of main reason why my magento site not work well is server configuration and after moving to new hosting, it work really fast now.

  14. It ‘s super fast magento site after doing all of your steps. That ‘s great to know your site. Thanks for a nice tutorial

  15. It ‘s really useful to make my magento faster with your tutorial. Thanks man. You did a great job.

    1. (5) is high tech task what need you have to be an expert in server administration to do. You can contact us so we will tell you more about that. Thanks

  16. thanks so much , really useful …. i hope that see more from you “magento2x”
    this was wonderful and for my client site , it work really 2x faster !!!!! good luck

  17. I think the most important step is the hosting selection. I did all of other steps and it just speed up 2x. But after moving to new hosting from suggestion, it become crazy fast.

  18. Work like a superman, thanks a lot admin, you did a very nice for magento speed. Just need to follow all of steps and the magic happen. Cool!

  19. I follow your steps and till the server/hosting step. After moving everything faster a lot. I guess the main issue come in my case is server side what make the magento site very slow from server load. Thanks for your help.

  20. Can’t believe I can figure out this very nice post to speed up magento. It ‘s so easy to make magento work fast with some simple steps. Thanks admin, keep a good sharing your nice information. I love it

  21. There are a number of ways in which you can improve the speed of a Magento website, like using some caching mechanisms, tweaking the MySQL configuration etc. but hosting a Magento website on a fast and reliable SSD VPS will make the biggest difference.
    From my own experience I have found RoseHosting to be the most reliable VPS hosting provider. I host my website on a VPS hosted by rosehosting.com running on Ubuntu 14.04 and LEMP stack. My Magento based website is always lightning fast and my server has no downtime which is absolutely amazing.

  22. Very good tutorial, it just save me a lot of time to figure out the good hosting, the good way to configure and the best way to make it fast. Thanks admin for a nice help.

  23. Siteground is not a good hosting supplier, though their wordpress and customer service is really better, but for magento, you need to choose the Cloud hosting or higher, the sharing hosting is very not good for magento, especial the cron job, the less time at Siteground is 30 minute, other hosting default time is 1 minute to 5 minute for hosting. What I said is fact, because I am also their customer, and I paid the hosting for 1 year, but because of its hosting not good for magento, I have to give up it, there are still more than 5 month time, not happy!!! 🙁

  24. Thanks for your post! It’s very great to speed up Magento site. But what about JavaScript, whether we can do something with JavaScript for better site performance?
    Because I find out this extension on Magento Connect: https://www.magentocommerce.com/magento-connect/defer-javascript.html
    I read about this extension and see that deferring JavaScript till the last moment after loading all HTML and CSS is also an effective way to reduce loading time and speed up Magento site.

  25. Configuring magento server i think is the main task for speeing the website up.

Comments are closed.