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