240 likes | 398 Views
Is your Magento store running slow? A slow website will gradually convert less traffic which can decrease overall sales. To eradicate that slow performance, we've formulated an easy to-do checklist which covers all the necessary methods to increase your ecommerce store's speed.
E N D
Magento is one of the leading and commonly used open source ecommerce platform. If your Magento store is not correctly optimized, it will run at a snail's pace. Most of the times, even experienced Magento developers could miss these preferences to boost the speed and performance of your Magento store for loading the pages more rapidly. Ways to increase your magento store’s performance can range from admin to server or hosting settings. They could be commonly used but can result greatly for increasing the page load speed.
Below stated checklist will ensure ifyou missed some important factors that are slowing down your Magento store’s speed. All further mentionedsuggestions are general guidelines. Results may vary between different Magento installations.
#1 JS AND CSS FILES Combine all JavaScript and CSS files into one by compressing them. This reduces the number of HTTP requests made by website to the server. Recommended Alternative: Compressor - minify JS & CSS
HOW TO In the admin panel: System > Configuration, Advanced > Developer Javascript Settings, CSS Settings Set “Merge Javascript” Files and “Merge CSS” Files to “Yes”.
#2 CACHING Cache is the process of storing certain elements of a web page. Enabling cache will take less time to load pages because temporary data of that site will be stored locally. Recommended Alternative: PageCache extension by Varnish 6
HOW TO In the admin panel: Go to System > Cache Management. Enable all the required cache types from there and press "Submit"
#3 REINDEX DATA Indexing makes it easy for the system to search and fetch the requested data. As such, regularly indexing your Magento store's data will have a positive impact on the overall speed performance. 8
HOW TO In the admin panel: Go to System > Index Management Select all indexes and hit “Reindex data” button.
#4 COMPILATION Every time a visitor accesses a page, Magento has to pull active scripts. You can solve this by enabling compilation. Note: Compilation must be disabled every time you update any themes, extensions etc. otherwise they could cause errors. 10
HOW TO In the admin panel: Go to System > Tools > Compilation. If the Compiler Status is disabled then click on the top right button “Run Compilation Process”
#5 FLAT CATALOG Attributes that apply to products and categories are stored in separate database tables depending on their types. Flattening will put all attributes in one table which will have a positive impact on site speed especially if it has more than 1000 products. 12
HOW TO In the admin panel: Go to System > Configuration > Catalog Set “Use Flat Catalog Category” and “Use Flat Catalog Product” to 'Yes“
#6 DISABLE ETAGS ETags are a way for browsers to validate cached components across subsequent visits. They can slow down a site served from a cluster if the cluster hasn’t implemented them properly. It is best to just turn them off. 14
HOW TO You will need to disable eTags from the .htaccess file. Just paste the above code in your Magento website’s .htaccess and compare the performance.
#7 EXPIRES HEADERS EXPIRES HEADERS Browsers use expires headers to determine how long a page component can be cached. Static components like images should have far-future expires headers but all page components should have expires headers. 16
HOW TO Similar to eTags configuration, to activate expires headers feature, add ExpiresActive On and ExpiresDefault "access plus 1 year" in the .htaccess file.
#8 GZIP COMPRESSION GZip compression is known to improve Magento’s performance. You can gain more rapid performance by editing this too in your store's .htaccess file. 18
HOW TO Add the above mentioned code in your website’s .htaccess file.
#9 MYSQL OPTIMIZATION MySQL configuration optimization allows you to manage the cache size and limit. Note: Do this only if you have RAM around 1GB. 20
HOW TO • Adjust these cache query settings in your store’s my.cnf file • query_cache_type • query_cache_size • query_cache_limit
#10 DISABLING LOGS It will turn all logs off so that the system need not waste time with that. However, this may become disadvantageous at the time of troubleshooting. Spare this option for the last only if the loading speed is still very low and you are sure to go ahead without logs. 22
HOW TO In the admin panel: Go to System > Configuration > Developer > Log Settings
NEED MORE ASSISTANCE? Magento Speed Optimization We welcome you to contact Infigic for a free, no hassle Magento consultancy. Let’s discuss about your idea, the on going activities, opportunities that work for you and create a master plan to improve your online efforts. GO SOCIAL WITH INFIGIC Not sure where to start? We’re always there Contact usvia email