Performance or speed is one of the key of success of any ecommerce store. High performance or quick loading websites got more preference in search engine in comparison to slow loading website. Also if your ecommerce is fast or quick loading then it provides better experience to your website user, which means more conversion. If your website is built in Magento and you are experiencing the slow loading then you are at right place. In this article we will discuss some basic practices to improve magento performance.
By following below steps you can merge your css and JS
- Please go to System -> Configuration
- Click on Developer tab from left section. It would be in the bottom of the page.
2 Right Use of Caching
Caching is one of the most preferred way to improve performance in any software system. Right use of caching is vital to improve magento performance.
There must be rule of thumb to use opcode cache. I prefer to use APC for opcode caching. Opcode caching will increase speed of the code execution which will help to load your eCommerce pages faster.
Magento also caches some of variables and other things and developed its own cache system. By the magento cache values getting stored in file. File based caching are little slower. Use memcache or other in memory caching system.
3 Use Full Page Cache Feature
Magento provides facility to cache whole page which improves the store speed very considerably. You can enable full page caching by following below steps:
- Please go to System -> Configuration.
- From Left Navigation please click on System (Come under Advanced section).
- Open External Full Page Cache Setting and select Yes to Enable external cache setting. Please refer below screenshot:
4 Use Content Delivery Network(CDN)
In ecommerce the biggest thing is user experience. If user experince will not be up to mark then your ecomm store performance in terms of conversion will always go down. To provide better experience you need to add better info graphics of your products. More infographics means more images, which again lead to slow your user experience. You can optimise user experience by delivering your images, js and css through CDN. CDN will serve your static files faster then your web server. To know more detail on how cdn works you can refer CDN Wiki Page.
5 Always be Updated
Keep upgrading your magento to most updated version. Magento team always try to identify the bugs related to performance and provides fix in the updated version. Also by updating magento chances of security attack on your store goes down. So upgrading magento to the lated version is always a good Idea.
Do the same things for the extensions and themes. Always keep your magento extension and theme on most updated version.
6 Disable Unused Modules
Always disable the unused modules/extensions of your magento stores. It will give you the considerable amount of performance spike. Please follow the below steps to disable unused module:
- Please go to System -> Configuration
- Go to Advanced section from left navigation from configuration page.
- Open Disable module output section and select module to disable. Please refer below screenshot:
7 Use Magento Compilation Feature
On your production website always make sure to run compilation process if your developer is deploing any new code change. Magento compilation process makes class loading much more faster. Make sure to run this compiliation in non production hour of your website because it might take good amount of time to complete the process.
Below are the step for running the compilation process in magento.
- Please go to System -> Tools -> Compilation
- Click on Run Compilation Process button.
8 Disable Unwanted Logs
Logs are always good but always eat performance. So only required things should be log. If not requied always disable the exception and system log. It will always save lots of disk writing operation which will improve your magento store performance.
9 Use Optimised Theme
If you are going to purchase theme then always try to use optimised theme. Optimised theme means the theme which follow all magento standard while being coded. Also the theme which uses css and js library in very efficient manner.
I always prefer to buy the most popular theme because the popular theme will be already tested by several people.
If you are going to buy theme which is less popular or not from very popular source them please consult some good magento expert and take their suggestion.
10 Chose Hosting Wisely
One of the key pain area for the any mid level ecommerce is to choosing hosting plan. If you are startup or entry level ecommerce player then always go for the managed magento hosting. Please avoid to use normal shared hosting as most of them does not provide APC and Memcache kind of stuff in basic plans. Always ask your hosting company to show some magento site which are hosted, and check their performance.
After applying above 10 methodology correctly if you still feel there is any performance issue, please contact your developer or any magento expert and get your custom code and third party code reviewed. Also review your hosting server reviewed by expert.