Magento is one of the most popular ecommerce platform which is widely used by people across the globe to grow their online sales.In this post, I am going to share some useful tips to speed up your Magento site’s performance and make sure, you don’t lose the potential traffic and sales because of high abandonment rate or an unsatisfied user-experience.
While choosing an ecommerce platform or CMS for your online store, there are lot of options available like Shopify, Volusion, WooCommerce – an extension of WordPress, and a number of other ones. The reason why many businesses choose Magento is because it is highly scalable – no need to change to a different platform later as your business scales up, it is a robust platform – having high level of customizability and functionality.
Is your Magento slow?
There are certain ways of making it load and run faster. If you are not technically strong enough to optimize your site’s speed, simply look out for the Magento development services to boost your Magento’s performance.
Let’s start speeding up Magento!
Speed Up Magento
Being the ‘heavy’ eCommerce systems, Magento and WooCommerce are both known for having speed issues and performance degrading over time. Your website’s speed is the most important factor. For an ecommerce store, you should make sure that it runs faster as it is crucial for your sales, abandonment rate, SEO rankings and the user’s overall shopping experience.
If an ecommerce site is making $100,000 a day, 1 second page delay could potentially cost you $2.5 million loss in sales every year – Kissmetrics
Here are 9 quick and very useful tips to boost your site’s performance and improve the speed:
1. Latest Version
Every latest version of Magento comes with updates like bug fixes and performance improvements. So, it is very important to run your store with the latest version. Upgrading a Magento installation is very easy, here are three main steps:
– Install a fresh Magento version.
– Run the installer from the file tree on the top and thereby upgrade the database.
– Now, move the themes and custom extensions from the older version to the current one.
Upgrading Magento is doing more work than upgrading Shopify or WooCommerce. Magento even notifies you about the important updates which becomes available within your inbox.
2. Content Delivery Network
One of the easiest way to instantly improve the loading times is implementing a CDN (Content Delivery Network) with Magento. By doing this, you can make sure that you are serving your assets like css, js files, product images etc. from multiple locations around the world so that they are delivered faster to your shoppers.
3. Utilize Caching
There are various forms of caching which can be implemented with Magento. Many people have combined NGINX + APC + Memcache + Varnish caching and achieved great success.
Magento also has an in-built caching module, but third party solutions deliver better results:
– To enable, go to System → Cache Management.
– Select everything, and then select “Enable” in the drop down and click “Submit”.
4. Enable Flat Catalog
Magento uses the Entity Attribute Value (EAV) model to store the product and customer data. Enabling the flat catalog for products and categories merges the product data into one table, thereby responding to the MySQL queries faster and improving performance. This is very beneficial when your ecommerce has more than a thousand products.
– Navigate to “System”→”Configuration”→”Catalog”
– Under “frontend” change “Use Flat Catalog Category” and “Use Flat Catalog Product” yo “Yes”.
– Click on “Save Config.”
– Clear the cache. The best way to do this is by deleting everything from the /var/cache directory.
5. Image Optimization
When it comes to ecommerce store, more than half of a website’s page is made up of images. So, optimizing your product images can dramatically increase the speed of your pages as it reduces their download times. The best way out is compressing them before uploading them. You can easily compress the images using a tool like Photoshop or there are various extensions you can use to optimize them.
6. Merge CSS and JS files
Magento has an in-built feature to concatenate your CSS and JS files into a single file. This reduces total number of http requests and helps in speeding up the loading of your pages.
– Navigate to “System”→”Advanced”→”Developer”
7. Clean up Database and Logs
It is not a wise choice to keep the unnecessary data because huge database makes your store run slowly and less effectively.
Magento keeps logs for up to 180 days, by default. This can lead your database to grow quite large. You can save enough space by removing the data which is not required.
– Navigate to “System”→”Configuration”→”Advanced”→”System”→”Log”
– Change the save log days frequency under “Save log, Days” to whatever you prefer.
– Click on “Save config”
You can also clean up your database manually by emptying the log tables.
8. MySQL Configuration
MySQL has an in-built “query cache” which is used in Magento to generate dynamic pages and content while improving the performance. These are some of the recommended settings for your file:
query_cache_type = 1
query_cache_size = 32M
Also, the setting recommended for php.ini is:
php_value memory_limit 128M
9. Fast Web Hosting Service
Last but not the least, choosing a fast and reliable web host is one of the most important factor while you’re trying to improve Magento performance. I recommend staying away from cheap shared hosting as most of such hosts tend to overcrowd their servers and you may end up sharing the resources between hundreds of other people.
Magento Speed Up – In a nutshell
Finally, there are various ways you can boost up your Magento ecommerce site’s performance and speed. From image optimization to implementing a CDN to enabling flat catalog, merging CSS & JS files, cleaning up the database, and having a good web host. All the things are equally important.
Do you have more ideas to speed up Magento that I’ve missed out? I’d love to hear about it in the comments section below.