Magento Speed Tips – Could Failure to Follow These Be Costing You Sales?

Magento Speed Tips – Could Failure to Follow These Be Costing You Sales?

Andy Holland

It has been shown that 47% of web users will abandon an unresponsive website in under two seconds. Getting your Magento site up to speed is therefore essential to the success of your business, both from a user perspective and from Google’s perspective as they are penalising sites that take too long to load. Fortunately Magento already comes with many of the tools required to achieve this.

  • Merge JavaScript and CSS Files

Your Magento site might have many JavaScript and CSS files, and there will certainly be more with any customisations and extensions that you may be using. By combining JavaScript and CSS into one file your pages will load quicker.

In the top menu of Magento admin go to System > Configuration. In the left navigation go to Advanced > Developer (main page) JavaScript Settings, CSS Setting and set “Merge JavaScript” files and “Merge CSS” files to “Yes”.

  • Flat Categories and Products

Category and Product attributes are stored in different databases, depending upon their data types. Flattening puts all attributes in one table which will speed up your site, particularly if you have more than 1,000 products in your store.

In the top menu of Magento Admin go to System > Configuration. In the left navigation go to Catalogue > Catalogue, (main page) Frontend. Set “Use Flat Catalog Category” and “Use Flat Catalog Product” to “Yes“.

  • Enable Compilation

Enable Compilation will take all the active scripts in Magento’s core structure and bring them to the front, which gives much quicker website loading speed.

In the top menu of Magento admin go to System > Tools > Compilation, and click Enable.

Remember that if code modifications, extensions and updates are needed, Compilation needs to be disabled first to avoid errors.

  • Caching

With the above settings in place, the performance of an average Magento site will be improved. Finally, once your website is ready to go live, go to System> Cache Management. Select all items and set the Action Dropdown to “Enable”. Hit Submit and your site will be faster!

Andy Holland

Author Andy Holland

More posts by Andy Holland