Magento Is Now Jet Fast
Magento is a powerful eCommerce platform. However, people complain that it is quite slow. Is it that slow? Have you made the required changes? Yes, what you are thinking right now is true. A few changes and a little bit of know-how can make your Magento eCommerce store as fast as that offered by any other eCommerce platform, and the best part is you can make it likely faster than others. Can’t believe it?
Here’s what you can do to make your Magento store jet fast…
Consider a case that you put up your store on the latest version of Magento Community Edition and created a fully functional demo store. Make sure that your site is not optimized yet.
Initially you found that the page load is around 3.9 seconds and the repeated views caused it to come down to 3.5 seconds. The Time to First Byte (TTFB) was found to be 1.8 seconds. Obviously the load time of 4 seconds is hell slow to render in case of a normal web page. The TTFB is like that time will never end. In case of an ideal eCommerce store your page load should be under 0.25 seconds.
Thus, a Magento store without proper optimization is worse than a snail.
Optimized Magento Website
The speed that you just saw without any optimization is what you may find on the host server that is not specialized in Magento. In fact, in the case of certain server, this speed will be considered as “fast”. Isn’t that horrible?
It is good to host your Magento web-store on a server that has other live Magento stores on it. Say that you hosted your store on standard VPS with other Magento sites. Then you applied standard optimizations that we generally do in case of any Magento store.
It is always good to host your stores on the latest Apache web server that run on threaded mode to offer an efficient environment to scale well. Use PHP 5.4 with optimized settings for the best performance. Make sure you install APC Op-code caching that is optimized for Magento based on fragmentation monitoring, size and speed.
It is good to use MySQL 5.5 that is optimized with InnoDB and Query Caching settings. Use .htaccess adjustments for proper compression and client side caching. Alter your Magento admin settings for proper caching, ideal cron, indexing and log rotations. Check if Full Page Cache and Site Optimizer are properly installed.
After doing all this you will find that your initial page load has come down to around 0.9 seconds, the repeat view load time to 0.38 seconds, and the (TTFB) is now 0.16 seconds.
This shows that with these changes you will be able to make your initial page view more than 100% faster and this will increase even more in the case of repeat view. That means it’s now jet fast! Even a fully populated Magento store can load it’s every page within a second. And each page is viewable within 0.2 seconds. That is how every Magento website should be.
Unfortunately, most of the web hosts do not offer such type of speed for their Magento clients. They have overloaded servers, inappropriately tuned environments and badly executed set ups that make your Magento store take up to 20 seconds for the pages to load. In this case it is good to switch to a better and less loaded web service.
This will help you to enable better customer experience in your store and get more sales with the highly improved navigability and overall experience. Now, you can personalize your site to meet specific requirements of the customers. This will help you to set your store completely apart from the rest and be faster. We all know that slow websites are a sure NO for the visitors. If you make them wait, they will leave you and go somewhere else.
The easiest thing that you can do is to instruct the web service provider to compress all the texts and other easily compressible data before it will be served to the visitors. This will make your content smaller while downloading that means it will be viewed faster over the Internet. And what else you need as this is done while coding without asking you to make the changes.
You can enable compression by simply adding a few lines in the file named .htaccess in your web directory for the Apache web-server users.
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0 no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
That’s it. Your site is much faster now.
Use a Content Delivery Network (CDN)
A CDN can also make is your site load faster. CDN downloads copy of all the images, and distributes them across the globe to different centralized locations. Then, when a visitor enters your website, the closest CDN delivers the content that makes loading faster. Most CDNs are simple to use. One little change in the URL and your site speed is up.
It’s really easy to make your site faster. It’s time to show how fast you are!