Optimise your magento store for better performance
Magento is one of the most commonly used ecommerce platforms by the developers around the globe. Since its having high level of functionality,customizability and large databases, as well as a higher number of requests on page load which consequently, makes Magento slower. So we help you to optimise your magento store for the better performance, kindly follow the instructions given below:
Magento Caching needs to be enabled : Make Magento caching system as enable will be the basic, and the simplest way in which you can optimize the performance of your Magento site. Since Magento caching is disabled by default, once enabled,your website builder india will start serving pages to your website visitors faster. For making this changes you need to go to your Magento Admin Panel, and in the System Menu, enable cache management.
Cleaning Magento logs : Log cleaning feature is disabled by default in Magento backend. The Logs are created automatically about frequently read pages, frequently compared products, or best sellers are kept for 180 days before being deleted by the system itself. Over time, this amount of information can be a big burden in your Magento database. The simpler way to manage your logs is to change saved log days. This can be done following this path: “Stores” > “Configuration” > “Advanced” > “System” > “Log”. You need to choose a required number for your “Save Log, Days” to determine how long Magento should keep your logs. Choose “Yes” for “Enable Log Cleaning”. Click “Save Config” to save your changes.
Tuning MySQL server to be optimised : Every time when a Magento webpage is loaded, the database server must work on a series of queries. These queries are handled on an individual basis, with data fetched from the disk, processed, and finally returned to the user. Slow disk access happens, making webpages slow to load. MySQL provides query_cache_size i.e configuration command that tells the server to store query result in memory, instead of fetching it all the way from disk. The size you can set for this cache depends on how much memory your MySQL server can handle. Find the cheap domain registration India for your Magento store.
We recommend you to set certain things inside my.cnf file inside the server :
query_cache_type = 1
query_cache_size = 32M
Also make sure the below line is present in php.ini file:
php_value memory_limit 512M
Enable Keepalive : Enabling KeepAlive allows the connection between a client and server to remain open. This will decreases your site loading time by allowing multiple requests to be served on the same connection. This is an best method and quite useful for websites those are having many pages and that include lots of images. It works by opening multiple connections that make downloading content faster.
Go to “System” > “Advanced” > “Developer”
menu option to “Yes.” Then click on “Save Config.”
Once done with it you need to clean the cache run the following commands in
your Magento root directory:
php bin/magento cache:clean
php bin/magento cache:flush
Enable Magento Compilation (Only Magento Version <2) : Magento has a unique compilation feature which has been reported to give up to a 50% of performance boost for your website. By default, Magento’s application files are searched in a certain order everytime the page loads, which results in a lot of file system reads. The Magento compiler reduces these reads by copying all of these files into a single include directory and also caches ones that are used more frequently.
To do this changes you need to Navigate to “System” ? “Tools”
Next click on “Run Compilation Process.”
Note: Before installing any new extensions or upgrading Magento you have to disable this feature.
Enable Flat Catalog : Magento uses the model named EAV to store the customer and product data. Enabling the flat catalog for categories and products merges product data into one table, thereby improving performance by responding to MySQL queries faster. If your eCommerce store has more than 1000 products, this can very beneficial to reduce the complication related to data’s.
So you need to follow the below steps to enable this model:
Navigate to “Stores” ? “Configuration” ? “Catalog”
Next Under “Storefront” change “Use Flat Catalog Category” and “Use Flat Catalog Product” to “Yes”.
Click on “Save Config”
Clear the cache. The recommended way to do this is to delete everything from the /var/cache directory. You can also do it by navigating to “System” ? “Cache Management” and clicking on “Flush Cache Storage” which is equivalent to deleting all the cache.
Modules can be disabled in magento backend by going to :
“Stores” -> “Configuration” -> “Advanced” -> “Advanced”.
After disabling modules of choice, click “Save Config” to see a change in your site loading speed.