SlideShare a Scribd company logo
1 of 9
Magento Performance Optimization
WHITE PAPER BY RETAILON
WHITE PAPER BY RETAILON
1 Introduction
Magento is the most successful ecommerce platforms globally
accepted by developers and eCommerce owners. Despite its
popularity Magento is a quite heavy CMS and runs slowly if right
configuration and settings are not applied. This is because these
settings are not quite obvious and missed by even experienced web
developers who are not so familiar with Magento.
There are several methods that can be applied to enhance
Magento’s performance and other PHP based CMS systems. These
enhancements start from settings within Magento and go all the way
to server/hosting settings.
The few methods that are relatively easier ones and increase the
Magento page-load speed significantly are::
2 BASIC PERFORMANCE OPTIMIZATION
2.1Reduce the size of file transfer between browser & web server
A best approach to boost Magento performance is by reducing file
transfer between browser and web server.
2.2Minify JavaScript and CSS:
There are many online tools available to minify Javascript and CSS
jscompress.com,minifyJavascript.com,csscompressor.com,minifycss.co
m.Compressing the Javascript and CSS can set aside many bytes of
data and reduces downloading, parsing and execution time Quicker
download times for your users. This helps in achieving the following
pointers:
 Reduce bandwidth consumption of your website.
 Reduce number of HTTP requests on your server by combining
many Javascript files into one compressed file, thus reducing the
server load and allowing more visitors to access your website.
 Speed up script execution times by reducing comments and
whitespace, which are not needed for Javascript &CSS execution
and thus reducing file size.
2.3Optimize Images by resizing them:
If you want to your site to load faster and have your images still retain
their quality, you’ll need to optimize your images before you upload
them to your site. Select a suitable image file format and compress the
images using image compressor to lessen the bandwidth between
browser and web server. There are several image compression tools
offered online such as; imageoptimizer.net, hjpeg-optimizer.com,
JPEGMini.com etc.
2.4Enable GZIP compression
You can curb the number of bytes sent over the network considerably
by using GZIP compression that cuts down the size of HTML, CSS, and
Javascript files sent over the network by up to 75% and reduces
download time drastically.
2.5Lessen the Number of HTTP Requests
By merging the CSS and Javascript, you can reduce HTTP request. To
reduce HTTP requests and uphold a high-quality web page at the same
time. - Combine Javascript and Combine CSS files, an inbuilt feature of
Magento. - Combine Javascript and Combine CSS files: It is inbuilt
feature of magento.
Go to System > Configuration > Advanced > Developer- Set Javascript settings
and CSS Settings as Yes
2.6Combine images using CSS sprites:
By using CSS sprites, number of images can be brought down by
combining them into as less number of files as possible. It will reduce the
server requests and will bring down the number of bytes downloaded
by a webpage.
2.7Expires Headers or Cache control headers
By using the expire headers or cache control headers, the number of
HTTP requests and its size can be reduced to faster page load.
2.8Enable Apache KeepAlives
Apache KeepAlives keeps the communication between server and
browser up and running when your Magento is hosted on a shared
server. It is recommended to keep it running on server so that your user’s
browser and server do not loose the communication.
2.9Reduce the number of DOM elements
High numbers of DOM elements make the page more complicated and
increase the page size. This results in increased download time and
slower access to Javascript making the webpage load slower.
Examine the alternative to bring down the DOM elements. There are
many free tools available like DOMMonster, DOMinspector to inspect
your web page and offer suggestions for enhancement.
The screen shots given below have been taken using the DOM Monster
tool. This is an instance of a healthy web page with a less number of
DOM elements.
Example
YSlow –
YSlow fetches all data about the page and generates a grade for each
rule, which generates the overall grade. Yslow offers great help to
design complete layout with superb load speed. Grids.css can help you
to design responsive web page where as fonts.css and reset.css assists
you to strip away the browser’s default formatting”.
2.10 Place CSS calls at top of the page and JS calls at the bottom
Always place CSS calls at top of the page and Java Scripts calls at the
bottom as it assists to boost the progressive rendering in several browsers,
thus increasing Page load speed.
3 ADVANCE PERFORMANCE OPTIMIZATION
3.1Implement Required Caching Mechanisms
Enable all Magento caching mechanism by enabling all of the
accessible cache from the Magento admin panel (System –> Cache
Management).
3.2Implement opcode cache mechanism
Memcache is a high-performance, distributed memory object caching
system. This caching mechanism assists to get better Magento heavy
traffic hits on your database by caching data away from it. Magento
supports Memcache is not enabled by default it has to be enabled via
its configuration file, start the service, and restart Apache (APC,
accelerator, xcache, etc)
3.3Enable Memcache mechanism
Memcache is a high-performance, distributed memory object caching
system. This caching mechanism assists to get better Magento heavy
traffic hits on your database by caching data away from it. Magento
supports Memcache is not enabled by default it has to be enabled via
its configuration file, start the service, and restart Apache.
3.4Implement Redis cache
There are problems while implementing Two Levels Cache Backend (i.e.
to use Memcache together with the database). Redis is an appropriate
alternative to resolve this problem. “Redis is an Open Source, BSD
licensed, advanced key-value store. It is often referred to as a data
structure server since keys can contain strings, hashes, lists, sets and
sorted sets.”
It is measured as one of the superior and most efficient caching
mechanisms for Magento.
Given below editions support Redis session and back end caching:
 Enterprise Edition (EE) 1.13 and later
 Community Edition (CE) 1.9
3.5Implement “Varnish caching”
Varnish is a HTTP accelerator; it plays a role of load balancer. It caches
the created HTML from a web page and serves it to a user sooner than
making a call to the Magento Framework. Hence, it reduces the load
time and decreases the response time extremely well.
3.6Enable MySQL Query Caching
MySQL has its own “query cache”, which is quite supportive to optimize
the MySQL performance. It helps in generating dynamic pages and
content while considerably enhancing the performance.
MySQL stores the query text and its results in its cache and when the
same query is fired, results are made available quickly.
3.7Use a Content Delivery Network (CDN)
CDN helps to reduces server load, by serving the static content like
images, CSS files or Javascript files through a network of servers
intimately located to your customers. A CDN can truly perk up the user
experience on the web site. Some of the free CDN website like
Cloudflare.com
3.8Optimize Performance Through Magento Panel
Keep logging turn off
Magento logging mechanism is turned ON, It can simply be turned off
from the admin panel.
Go to System > Configuration > Advanced > Mage Log > Set Disable and Save
Turn Compilation On
This option let you to compile all files of a Magento installation in order
to generate a single include path to enhance performance”.
To enable, Go to “System” > “Tools” > “Compilation” and click on the “Run
Compilation Process” button.
To use this tool, directory includes and the file includes/config.php both
must be writable.
3.9Enable Flat Categories and Products
As each product or category information is stored in multiple tables,
each time a product or category page is requested, a large join query
is prepared to collect all the pieces of information and form a web
page.
Enabling the Flat Catalog generates these pages by using a lone DB
query from a sole DB table. This considerably reduces the bottleneck
performance of loading a product/category page.
System > Configuration >Catalog Panel > Catalogue > Frontend > you will see two
options “Use Flat Catalog Product” and “Use Flat Catalog Category”. Set both to
Yes.
4 Key Contacts:
Ramesh Kumar
CEO & Founder
Skype: Ramesh.RetailOn
Email: Ramesh@RetailOn.net
Whatsapp & Mobile: +91 9739721850
https://www.facebook.com/ramesh.kumar1
4th Floor, 535 Fifth Avenue, New York City, New York 10017, United States
Pragyan Priyadarshani
COO & Cofounder
Skype: Priya.RetailOn
Email: Priya@RetailOn.net
Whatsapp & Mobile: +91 9538374000
https://www.linkedin.com/in/pragyanpriyadarshani
RetailOn, 3rd Floor, 2nd Block, HM Tech Park, Whitefield, Bangalore – 560066

More Related Content

What's hot

Improving web site performance and scalability while saving
Improving web site performance and scalability while savingImproving web site performance and scalability while saving
Improving web site performance and scalability while savingmdc11
 
How to reduce database load using Memcache
How to reduce database load using MemcacheHow to reduce database load using Memcache
How to reduce database load using Memcachevaluebound
 
Caching in Drupal 8
Caching in Drupal 8Caching in Drupal 8
Caching in Drupal 8valuebound
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about serversSasin Prabu
 
Geek Guide - Shared Hosting
Geek Guide - Shared HostingGeek Guide - Shared Hosting
Geek Guide - Shared Hostingwebhostingguy
 
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s  | WordPress TrivandrumWordPress Hosting Best Practices - Do's and Don't s  | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s | WordPress TrivandrumWordPress Trivandrum
 
Optimizing website performance
Optimizing website performanceOptimizing website performance
Optimizing website performancePublisto Ltd.
 
New File Server Features Of Windows Server 2008
New File Server Features Of Windows Server 2008New File Server Features Of Windows Server 2008
New File Server Features Of Windows Server 2008Microsoft TechNet
 
Joomla! Performance on Steroids
Joomla! Performance on SteroidsJoomla! Performance on Steroids
Joomla! Performance on SteroidsSiteGround.com
 
Optimising Web Application Frontend
Optimising Web Application FrontendOptimising Web Application Frontend
Optimising Web Application Frontendtkramar
 
Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Alan Lok
 
High Performance Sites with Drupal and Cache Control Module
High Performance Sites with Drupal and Cache Control ModuleHigh Performance Sites with Drupal and Cache Control Module
High Performance Sites with Drupal and Cache Control ModuleExove
 
Getting Started With Linux® Shared Hosting
Getting Started With Linux® Shared HostingGetting Started With Linux® Shared Hosting
Getting Started With Linux® Shared Hostingwebhostingguy
 
Piecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzlePiecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzleBusiness Vitality LLC
 

What's hot (20)

Improving web site performance and scalability while saving
Improving web site performance and scalability while savingImproving web site performance and scalability while saving
Improving web site performance and scalability while saving
 
Web performance
Web performanceWeb performance
Web performance
 
Presentation1
Presentation1Presentation1
Presentation1
 
How to reduce database load using Memcache
How to reduce database load using MemcacheHow to reduce database load using Memcache
How to reduce database load using Memcache
 
Html Optimization for SEO
Html Optimization for SEOHtml Optimization for SEO
Html Optimization for SEO
 
Caching in Drupal 8
Caching in Drupal 8Caching in Drupal 8
Caching in Drupal 8
 
Caching 101
Caching 101Caching 101
Caching 101
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
Geek Guide - Shared Hosting
Geek Guide - Shared HostingGeek Guide - Shared Hosting
Geek Guide - Shared Hosting
 
23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress
 
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s  | WordPress TrivandrumWordPress Hosting Best Practices - Do's and Don't s  | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
 
Optimizing website performance
Optimizing website performanceOptimizing website performance
Optimizing website performance
 
New File Server Features Of Windows Server 2008
New File Server Features Of Windows Server 2008New File Server Features Of Windows Server 2008
New File Server Features Of Windows Server 2008
 
Joomla! Performance on Steroids
Joomla! Performance on SteroidsJoomla! Performance on Steroids
Joomla! Performance on Steroids
 
Domain Name
Domain NameDomain Name
Domain Name
 
Optimising Web Application Frontend
Optimising Web Application FrontendOptimising Web Application Frontend
Optimising Web Application Frontend
 
Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015
 
High Performance Sites with Drupal and Cache Control Module
High Performance Sites with Drupal and Cache Control ModuleHigh Performance Sites with Drupal and Cache Control Module
High Performance Sites with Drupal and Cache Control Module
 
Getting Started With Linux® Shared Hosting
Getting Started With Linux® Shared HostingGetting Started With Linux® Shared Hosting
Getting Started With Linux® Shared Hosting
 
Piecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzlePiecing Together the WordPress Puzzle
Piecing Together the WordPress Puzzle
 

Similar to How to optimize your Magento store

Performace optimization (increase website speed)
Performace optimization (increase website speed)Performace optimization (increase website speed)
Performace optimization (increase website speed)clickramanm
 
Magento performancenbs
Magento performancenbsMagento performancenbs
Magento performancenbsvarien
 
White Paper - Magento 2.0 Performance and Scalability 03.31.16
White Paper - Magento 2.0 Performance and Scalability 03.31.16White Paper - Magento 2.0 Performance and Scalability 03.31.16
White Paper - Magento 2.0 Performance and Scalability 03.31.16Patrick Kong
 
Building high performing web pages
Building high performing web pagesBuilding high performing web pages
Building high performing web pagesNilesh Bafna
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax ApplicationsSiarhei Barysiuk
 
Speed up Your Joomla Site for Ultimate Performance
Speed up Your Joomla Site for Ultimate PerformanceSpeed up Your Joomla Site for Ultimate Performance
Speed up Your Joomla Site for Ultimate PerformanceJoomlaDay Australia
 
Optimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend ServerOptimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend Servervarien
 
Frontend performance
Frontend performanceFrontend performance
Frontend performancesacred 8
 
SEO 101 - Google Page Speed Insights Explained
SEO 101 - Google Page Speed Insights Explained SEO 101 - Google Page Speed Insights Explained
SEO 101 - Google Page Speed Insights Explained Steve Weber
 
Client-side Website Optimization
Client-side Website OptimizationClient-side Website Optimization
Client-side Website OptimizationRadu Pintilie
 
Introduction to Magento Optimization
Introduction to Magento OptimizationIntroduction to Magento Optimization
Introduction to Magento OptimizationFabio Daniele
 
MagentoECG-UsingRedisasaCacheBackendinMagento
MagentoECG-UsingRedisasaCacheBackendinMagentoMagentoECG-UsingRedisasaCacheBackendinMagento
MagentoECG-UsingRedisasaCacheBackendinMagentoKirill Morozov
 
Introduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website SpeedIntroduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website SpeedNile Flores
 
Website Performance at Client Level
Website Performance at Client LevelWebsite Performance at Client Level
Website Performance at Client LevelConstantin Stan
 
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital MarketersSearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital MarketersDistilled
 
Magento for-performance- v01
Magento for-performance- v01Magento for-performance- v01
Magento for-performance- v01Rajneesh Maurya
 

Similar to How to optimize your Magento store (20)

Performace optimization (increase website speed)
Performace optimization (increase website speed)Performace optimization (increase website speed)
Performace optimization (increase website speed)
 
Magento e commerce performance optimization
Magento e commerce performance optimizationMagento e commerce performance optimization
Magento e commerce performance optimization
 
Magento performancenbs
Magento performancenbsMagento performancenbs
Magento performancenbs
 
White Paper - Magento 2.0 Performance and Scalability 03.31.16
White Paper - Magento 2.0 Performance and Scalability 03.31.16White Paper - Magento 2.0 Performance and Scalability 03.31.16
White Paper - Magento 2.0 Performance and Scalability 03.31.16
 
White Paper - Magento 2.0 Performance and Scalability 03.31.16
White Paper - Magento 2.0 Performance and Scalability 03.31.16White Paper - Magento 2.0 Performance and Scalability 03.31.16
White Paper - Magento 2.0 Performance and Scalability 03.31.16
 
Tips to improve your website performance
Tips to improve your website performanceTips to improve your website performance
Tips to improve your website performance
 
Building high performing web pages
Building high performing web pagesBuilding high performing web pages
Building high performing web pages
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
 
Speed up Your Joomla Site for Ultimate Performance
Speed up Your Joomla Site for Ultimate PerformanceSpeed up Your Joomla Site for Ultimate Performance
Speed up Your Joomla Site for Ultimate Performance
 
Front-end performances
Front-end performancesFront-end performances
Front-end performances
 
Optimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend ServerOptimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend Server
 
Frontend performance
Frontend performanceFrontend performance
Frontend performance
 
SEO 101 - Google Page Speed Insights Explained
SEO 101 - Google Page Speed Insights Explained SEO 101 - Google Page Speed Insights Explained
SEO 101 - Google Page Speed Insights Explained
 
Client-side Website Optimization
Client-side Website OptimizationClient-side Website Optimization
Client-side Website Optimization
 
Introduction to Magento Optimization
Introduction to Magento OptimizationIntroduction to Magento Optimization
Introduction to Magento Optimization
 
MagentoECG-UsingRedisasaCacheBackendinMagento
MagentoECG-UsingRedisasaCacheBackendinMagentoMagentoECG-UsingRedisasaCacheBackendinMagento
MagentoECG-UsingRedisasaCacheBackendinMagento
 
Introduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website SpeedIntroduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website Speed
 
Website Performance at Client Level
Website Performance at Client LevelWebsite Performance at Client Level
Website Performance at Client Level
 
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital MarketersSearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
 
Magento for-performance- v01
Magento for-performance- v01Magento for-performance- v01
Magento for-performance- v01
 

More from Rasbor.com

Retailon is hiring phonegap developer in Bangalore
Retailon is hiring phonegap developer in BangaloreRetailon is hiring phonegap developer in Bangalore
Retailon is hiring phonegap developer in BangaloreRasbor.com
 
Retail on.net is hiring magento technical manager in bangalore
Retail on.net is hiring magento technical manager  in bangaloreRetail on.net is hiring magento technical manager  in bangalore
Retail on.net is hiring magento technical manager in bangaloreRasbor.com
 
Retailon Prestashop Presentation
Retailon Prestashop PresentationRetailon Prestashop Presentation
Retailon Prestashop PresentationRasbor.com
 
Mebly: Mobile Commerce Engine
Mebly: Mobile Commerce EngineMebly: Mobile Commerce Engine
Mebly: Mobile Commerce EngineRasbor.com
 
Acumatica on RetailOn
Acumatica on RetailOnAcumatica on RetailOn
Acumatica on RetailOnRasbor.com
 
Bigcommerce features list
Bigcommerce features listBigcommerce features list
Bigcommerce features listRasbor.com
 
Grocery ecommerce implementation
Grocery ecommerce implementation Grocery ecommerce implementation
Grocery ecommerce implementation Rasbor.com
 
Magento features list
Magento features listMagento features list
Magento features listRasbor.com
 
RetailOn Portfolio
RetailOn PortfolioRetailOn Portfolio
RetailOn PortfolioRasbor.com
 
PrestaShop features, demo and RetailOn extensions
PrestaShop features, demo and RetailOn extensionsPrestaShop features, demo and RetailOn extensions
PrestaShop features, demo and RetailOn extensionsRasbor.com
 
RetailOn at a Glance
RetailOn at a GlanceRetailOn at a Glance
RetailOn at a GlanceRasbor.com
 
Magento extensions from RetailOn
Magento extensions from RetailOnMagento extensions from RetailOn
Magento extensions from RetailOnRasbor.com
 
B2B eCommerce marketplace using Magento, Odoo & MVM from retailon
B2B eCommerce marketplace using Magento, Odoo & MVM from retailonB2B eCommerce marketplace using Magento, Odoo & MVM from retailon
B2B eCommerce marketplace using Magento, Odoo & MVM from retailonRasbor.com
 
B2B Marketplace feature list using Magento, Dynamics NAV & MVM from retailon
B2B Marketplace feature list using Magento, Dynamics NAV & MVM from retailonB2B Marketplace feature list using Magento, Dynamics NAV & MVM from retailon
B2B Marketplace feature list using Magento, Dynamics NAV & MVM from retailonRasbor.com
 
Forrester Study: The total economic impact of the magento enterprise e comme...
Forrester Study:  The total economic impact of the magento enterprise e comme...Forrester Study:  The total economic impact of the magento enterprise e comme...
Forrester Study: The total economic impact of the magento enterprise e comme...Rasbor.com
 
RetailOn is hiring 2015 graduates as Associate Software Engineer (Magento PHP...
RetailOn is hiring 2015 graduates as Associate Software Engineer (Magento PHP...RetailOn is hiring 2015 graduates as Associate Software Engineer (Magento PHP...
RetailOn is hiring 2015 graduates as Associate Software Engineer (Magento PHP...Rasbor.com
 
Retailon subscription commerce
Retailon subscription commerceRetailon subscription commerce
Retailon subscription commerceRasbor.com
 
RetailOn Management Graduate Program
RetailOn Management Graduate ProgramRetailOn Management Graduate Program
RetailOn Management Graduate ProgramRasbor.com
 
RetailOn Hybris Services
RetailOn Hybris ServicesRetailOn Hybris Services
RetailOn Hybris ServicesRasbor.com
 
RetailOn Technology Graduate Program
RetailOn Technology Graduate ProgramRetailOn Technology Graduate Program
RetailOn Technology Graduate ProgramRasbor.com
 

More from Rasbor.com (20)

Retailon is hiring phonegap developer in Bangalore
Retailon is hiring phonegap developer in BangaloreRetailon is hiring phonegap developer in Bangalore
Retailon is hiring phonegap developer in Bangalore
 
Retail on.net is hiring magento technical manager in bangalore
Retail on.net is hiring magento technical manager  in bangaloreRetail on.net is hiring magento technical manager  in bangalore
Retail on.net is hiring magento technical manager in bangalore
 
Retailon Prestashop Presentation
Retailon Prestashop PresentationRetailon Prestashop Presentation
Retailon Prestashop Presentation
 
Mebly: Mobile Commerce Engine
Mebly: Mobile Commerce EngineMebly: Mobile Commerce Engine
Mebly: Mobile Commerce Engine
 
Acumatica on RetailOn
Acumatica on RetailOnAcumatica on RetailOn
Acumatica on RetailOn
 
Bigcommerce features list
Bigcommerce features listBigcommerce features list
Bigcommerce features list
 
Grocery ecommerce implementation
Grocery ecommerce implementation Grocery ecommerce implementation
Grocery ecommerce implementation
 
Magento features list
Magento features listMagento features list
Magento features list
 
RetailOn Portfolio
RetailOn PortfolioRetailOn Portfolio
RetailOn Portfolio
 
PrestaShop features, demo and RetailOn extensions
PrestaShop features, demo and RetailOn extensionsPrestaShop features, demo and RetailOn extensions
PrestaShop features, demo and RetailOn extensions
 
RetailOn at a Glance
RetailOn at a GlanceRetailOn at a Glance
RetailOn at a Glance
 
Magento extensions from RetailOn
Magento extensions from RetailOnMagento extensions from RetailOn
Magento extensions from RetailOn
 
B2B eCommerce marketplace using Magento, Odoo & MVM from retailon
B2B eCommerce marketplace using Magento, Odoo & MVM from retailonB2B eCommerce marketplace using Magento, Odoo & MVM from retailon
B2B eCommerce marketplace using Magento, Odoo & MVM from retailon
 
B2B Marketplace feature list using Magento, Dynamics NAV & MVM from retailon
B2B Marketplace feature list using Magento, Dynamics NAV & MVM from retailonB2B Marketplace feature list using Magento, Dynamics NAV & MVM from retailon
B2B Marketplace feature list using Magento, Dynamics NAV & MVM from retailon
 
Forrester Study: The total economic impact of the magento enterprise e comme...
Forrester Study:  The total economic impact of the magento enterprise e comme...Forrester Study:  The total economic impact of the magento enterprise e comme...
Forrester Study: The total economic impact of the magento enterprise e comme...
 
RetailOn is hiring 2015 graduates as Associate Software Engineer (Magento PHP...
RetailOn is hiring 2015 graduates as Associate Software Engineer (Magento PHP...RetailOn is hiring 2015 graduates as Associate Software Engineer (Magento PHP...
RetailOn is hiring 2015 graduates as Associate Software Engineer (Magento PHP...
 
Retailon subscription commerce
Retailon subscription commerceRetailon subscription commerce
Retailon subscription commerce
 
RetailOn Management Graduate Program
RetailOn Management Graduate ProgramRetailOn Management Graduate Program
RetailOn Management Graduate Program
 
RetailOn Hybris Services
RetailOn Hybris ServicesRetailOn Hybris Services
RetailOn Hybris Services
 
RetailOn Technology Graduate Program
RetailOn Technology Graduate ProgramRetailOn Technology Graduate Program
RetailOn Technology Graduate Program
 

Recently uploaded

Mastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxMastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxAS Design & AST.
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jNeo4j
 
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonApplitools
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITmanoharjgpsolutions
 
SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?Alexandre Beguel
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...OnePlan Solutions
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxThe Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxRTS corp
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldRoberto Pérez Alcolea
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptxVinzoCenzo
 
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxUnderstanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxSasikiranMarri
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogueitservices996
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...Bert Jan Schrijver
 
Zer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfZer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfmaor17
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingShane Coughlan
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorTier1 app
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLionel Briand
 
Advantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxAdvantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxRTS corp
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolsosttopstonverter
 
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdfSteve Caron
 

Recently uploaded (20)

Mastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxMastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptx
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
 
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh IT
 
SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxThe Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository world
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptx
 
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxUnderstanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogue
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
 
Zer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfZer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdf
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryError
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
 
Advantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxAdvantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptx
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration tools
 
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
 

How to optimize your Magento store

  • 1. Magento Performance Optimization WHITE PAPER BY RETAILON WHITE PAPER BY RETAILON
  • 2. 1 Introduction Magento is the most successful ecommerce platforms globally accepted by developers and eCommerce owners. Despite its popularity Magento is a quite heavy CMS and runs slowly if right configuration and settings are not applied. This is because these settings are not quite obvious and missed by even experienced web developers who are not so familiar with Magento. There are several methods that can be applied to enhance Magento’s performance and other PHP based CMS systems. These enhancements start from settings within Magento and go all the way to server/hosting settings. The few methods that are relatively easier ones and increase the Magento page-load speed significantly are:: 2 BASIC PERFORMANCE OPTIMIZATION 2.1Reduce the size of file transfer between browser & web server A best approach to boost Magento performance is by reducing file transfer between browser and web server. 2.2Minify JavaScript and CSS: There are many online tools available to minify Javascript and CSS jscompress.com,minifyJavascript.com,csscompressor.com,minifycss.co m.Compressing the Javascript and CSS can set aside many bytes of data and reduces downloading, parsing and execution time Quicker download times for your users. This helps in achieving the following pointers:  Reduce bandwidth consumption of your website.  Reduce number of HTTP requests on your server by combining many Javascript files into one compressed file, thus reducing the server load and allowing more visitors to access your website.  Speed up script execution times by reducing comments and whitespace, which are not needed for Javascript &CSS execution and thus reducing file size.
  • 3. 2.3Optimize Images by resizing them: If you want to your site to load faster and have your images still retain their quality, you’ll need to optimize your images before you upload them to your site. Select a suitable image file format and compress the images using image compressor to lessen the bandwidth between browser and web server. There are several image compression tools offered online such as; imageoptimizer.net, hjpeg-optimizer.com, JPEGMini.com etc. 2.4Enable GZIP compression You can curb the number of bytes sent over the network considerably by using GZIP compression that cuts down the size of HTML, CSS, and Javascript files sent over the network by up to 75% and reduces download time drastically. 2.5Lessen the Number of HTTP Requests By merging the CSS and Javascript, you can reduce HTTP request. To reduce HTTP requests and uphold a high-quality web page at the same time. - Combine Javascript and Combine CSS files, an inbuilt feature of Magento. - Combine Javascript and Combine CSS files: It is inbuilt feature of magento. Go to System > Configuration > Advanced > Developer- Set Javascript settings and CSS Settings as Yes 2.6Combine images using CSS sprites: By using CSS sprites, number of images can be brought down by combining them into as less number of files as possible. It will reduce the server requests and will bring down the number of bytes downloaded by a webpage.
  • 4. 2.7Expires Headers or Cache control headers By using the expire headers or cache control headers, the number of HTTP requests and its size can be reduced to faster page load. 2.8Enable Apache KeepAlives Apache KeepAlives keeps the communication between server and browser up and running when your Magento is hosted on a shared server. It is recommended to keep it running on server so that your user’s browser and server do not loose the communication. 2.9Reduce the number of DOM elements High numbers of DOM elements make the page more complicated and increase the page size. This results in increased download time and slower access to Javascript making the webpage load slower. Examine the alternative to bring down the DOM elements. There are many free tools available like DOMMonster, DOMinspector to inspect your web page and offer suggestions for enhancement. The screen shots given below have been taken using the DOM Monster tool. This is an instance of a healthy web page with a less number of DOM elements. Example YSlow –
  • 5. YSlow fetches all data about the page and generates a grade for each rule, which generates the overall grade. Yslow offers great help to design complete layout with superb load speed. Grids.css can help you to design responsive web page where as fonts.css and reset.css assists you to strip away the browser’s default formatting”. 2.10 Place CSS calls at top of the page and JS calls at the bottom Always place CSS calls at top of the page and Java Scripts calls at the bottom as it assists to boost the progressive rendering in several browsers, thus increasing Page load speed.
  • 6. 3 ADVANCE PERFORMANCE OPTIMIZATION 3.1Implement Required Caching Mechanisms Enable all Magento caching mechanism by enabling all of the accessible cache from the Magento admin panel (System –> Cache Management). 3.2Implement opcode cache mechanism Memcache is a high-performance, distributed memory object caching system. This caching mechanism assists to get better Magento heavy traffic hits on your database by caching data away from it. Magento supports Memcache is not enabled by default it has to be enabled via its configuration file, start the service, and restart Apache (APC, accelerator, xcache, etc) 3.3Enable Memcache mechanism Memcache is a high-performance, distributed memory object caching system. This caching mechanism assists to get better Magento heavy traffic hits on your database by caching data away from it. Magento supports Memcache is not enabled by default it has to be enabled via its configuration file, start the service, and restart Apache. 3.4Implement Redis cache There are problems while implementing Two Levels Cache Backend (i.e. to use Memcache together with the database). Redis is an appropriate alternative to resolve this problem. “Redis is an Open Source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.” It is measured as one of the superior and most efficient caching mechanisms for Magento.
  • 7. Given below editions support Redis session and back end caching:  Enterprise Edition (EE) 1.13 and later  Community Edition (CE) 1.9 3.5Implement “Varnish caching” Varnish is a HTTP accelerator; it plays a role of load balancer. It caches the created HTML from a web page and serves it to a user sooner than making a call to the Magento Framework. Hence, it reduces the load time and decreases the response time extremely well. 3.6Enable MySQL Query Caching MySQL has its own “query cache”, which is quite supportive to optimize the MySQL performance. It helps in generating dynamic pages and content while considerably enhancing the performance. MySQL stores the query text and its results in its cache and when the same query is fired, results are made available quickly. 3.7Use a Content Delivery Network (CDN) CDN helps to reduces server load, by serving the static content like images, CSS files or Javascript files through a network of servers intimately located to your customers. A CDN can truly perk up the user experience on the web site. Some of the free CDN website like Cloudflare.com 3.8Optimize Performance Through Magento Panel Keep logging turn off Magento logging mechanism is turned ON, It can simply be turned off from the admin panel. Go to System > Configuration > Advanced > Mage Log > Set Disable and Save Turn Compilation On
  • 8. This option let you to compile all files of a Magento installation in order to generate a single include path to enhance performance”. To enable, Go to “System” > “Tools” > “Compilation” and click on the “Run Compilation Process” button. To use this tool, directory includes and the file includes/config.php both must be writable. 3.9Enable Flat Categories and Products As each product or category information is stored in multiple tables, each time a product or category page is requested, a large join query is prepared to collect all the pieces of information and form a web page. Enabling the Flat Catalog generates these pages by using a lone DB query from a sole DB table. This considerably reduces the bottleneck performance of loading a product/category page. System > Configuration >Catalog Panel > Catalogue > Frontend > you will see two options “Use Flat Catalog Product” and “Use Flat Catalog Category”. Set both to Yes.
  • 9. 4 Key Contacts: Ramesh Kumar CEO & Founder Skype: Ramesh.RetailOn Email: Ramesh@RetailOn.net Whatsapp & Mobile: +91 9739721850 https://www.facebook.com/ramesh.kumar1 4th Floor, 535 Fifth Avenue, New York City, New York 10017, United States Pragyan Priyadarshani COO & Cofounder Skype: Priya.RetailOn Email: Priya@RetailOn.net Whatsapp & Mobile: +91 9538374000 https://www.linkedin.com/in/pragyanpriyadarshani RetailOn, 3rd Floor, 2nd Block, HM Tech Park, Whitefield, Bangalore – 560066