Magento Speed Optimization
Speeding up your Magento store is not always a simple job; moreover, commercial extensions for this purpose are expensive. That’s why we will offer you some easy to follow steps which can significantly increase your Magento store performance:
- Enable Leverage browser caching:
You should revise the .htaccess file of your Magento store with the expires headers. This file can be modified via FTP, SSH, or File Manager in cPanel.
By doing so your pages will load faster for your visitors and so will other pages that share the same cached resources.
- Combine CSS and JS files:
This is an inbuilt feature in Magento also it can be made from the Administrative end of your site.
The final step is to clear the cache of your Magento store.
- Enable Flat Catalog:
You can enable this from the Magento administrator interface. Enabling the Flat Catalog meant for Products and Categories combines product data into a single table, thus improving performance:
Go to System -> Configuration -> Catalog. Choose Frontend from the Use Flat Catalog Category drop-down list and choose YES. Subsequently, go to Frontend -> Use Flat Catalog Product and click YES.
Once enabled, clear the cache of your Magento.
- Clean the database of your Magento shop:
Magento maintains several database tables for logging. It has a built-in mechanism for cleaning these logs regularly, but this feature is disabled by default.
On the other hand, you can clean these logs by accessing your phpMyAdmin in cPanel, move to the Magento database and Empty the following tables:
1. dataflow_batch_export 2. dataflow_batch_import 3. log_customer 4. log_quote 5. log_summary 6. log_summary_type 7. log_url 8. log_url_info 9. log_visitor 10. log_visitor_info 11. log_visitor_online 12. report_viewed_product_index 13. report_compared_product_index 14. report_event
Note: We greatly advise you to frequently perform such database maintenance in order to improve the performance of your Magento website.
- Enable Memcached:
Magento websites mark numerous data and objects in their database; moreover, it is always recommended to use Memcached. It offers a great boost in the database calls your Magento makes.
- Activate Magento Compiler:
You are able to enable it in the Magento admin panel, beneath System -> Tools -> Compilation. Hit it off on Enable and Run Compilation Process after that.
This preference compiles all Magento installation files and makes a single include path. It will also boost up pages 25-50% according to the official documentation.
Conversely, enabling the compiler may lead to some issues such as reporting missing php files which cannot be added. This may force you to disable the compiler.
- Configure Cloudflare CDN:
You can permit Cloudflare for your domain through cPanel:
How to Enable Cloudflare
To use this CDN service, your website has to be redirected to WWW URLs. This means that you will need to redirect your Magento to http://www.yourdomain.com by changing the Magento domain.
Following these steps can help you to optimize the speed of your Magento store. For more information take a look at our knowledge base.