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 changed through FTP, SSH, or File Manager in cPanel.
By executing, your pages will load faster for your visitors and 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 permit this from the Magento administrator interface. permiting the Flat Catalog meant for Products and Categories joins 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 on daily basis 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 significantly recommend you to regularly perform such database maintenance in order to improve the performance of your Magento website.
- Enable Memcached:
Magento websites smear numerous data and objects in their database; besides, it is always suggested to use Memcached. It provides a great improve 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 collects all Magento installation files and makes a single include path. It will also improve 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 allow Cloudflare for your domain via cPanel:
How to Enable Cloudflare
To utilise this CDN service, your website has to be redirected to WWW URLs. This means that you will require to redirect your Magento to http://www.yourdomain.com by changing the Magento domain.
These steps can assist you to optimize the speed of your Magento store. For more information take a look at our knowledge base.
Last Update: July 2, 2019