15
Magento Speed Optimization (Through 10 effective ways) Presented by Apptha 1

Best 10 Magento Speed Optimization Techniques for Your Magento Website

Embed Size (px)

Citation preview

Magento Speed Optimization

(Through 10 effective ways)Presented by Apptha

1

Magento - A Brief OverviewMagento is an ecommerce platform that powers more than 24% of the world’s ecommerce stores.

Is is based on open source technology & gives abundant flexibility and functionalities for creating a full-fledged shopping cart system.

As a SaaS ecommerce platform, Magento is highly scalable & is relied upon by businesses of all sizes and scale of operations.

Magento supports multiple store formats from a single backend system.

2

Market Share25% of the world’s ecommerce websites/applications are developed with Magento.

Key findings of the study:

★ Magento & WooCommerce together take up 49% of the entire eCommerce market

★ Magento reins as the first choice (with 25% share) for ecommerce websites followed by WooCommerce (with 24%).

3

1.Why Magento Scores High as an eCommerce Platform?

Magento based ecommerce stores have in-built features that generate SEO friendly URLs, descriptions, meta tags, site maps, category structures, etc.

Magento extensive API facilitates integration for any 3rd party app for payment gateways, logistics or web analytics.

Whilst most ecommerce platforms allow only one store per system Magento enables multiple stores from a single backend system.

Easily customizable

3rd party app integration

SEO friendly

One backend system for multiple stores

Magento aids in building ecommerce websites of any size & shape with peculiar requirements. It works perfectly for a online hardware retailer as if works for an online fashion retailer.

4

Magento extensive API facilitates integration for any 3rd party app for payment gateways, logistics or web analytics.Magento based ecommerce stores have in-built features that generate SEO friendly URLs, descriptions, meta tags, site maps, category structures, etc. Whilst most ecommerce platforms allow only one store per system Magento enables multiple stores from a single backend system.

2. Why Magento Scores High as an eCommerce Platform?

Unparalleled UX

Multi Channel selling

User friendlyMagento is simple, easy to use & set up, can be updated automatically and can be used by any naive Internet user.

Magento offers a comprehensive digital trading platform for selling inventory across online & offline channels.

Magento offers multiple logistic and supplier management that an online store will require in routine operations.

Efficient logistic management

Magento renders a superior user experience with an interactive shopping experience for customers.

5

Grapevine About Magento:

6

Magento is an excellent choice for ecommerce development. However, websites tend to get slow & develop lags due to some

default settings.

Factors That Slow Down Magento Websites

7

★Magento is a resource intensive eCommerce platform that consumes too much of resource from a single server.

★Magento is based on EAV model which requires it to go through a series of tables & queries before spotting the information.

★Too many http requests are created for images and static content which slows down the website loading time.

★By default, most loading speed enhancement settings are turned off which bogs down the loading speed.

Loading speed of Magento based websites can be optimized from Two aspects:

❖ Application Side

❖ Server Side

Magento Website Speed Optimization

8

That will cut short loading speed under 3 seconds flat.

Using as less as 3rd party extensions will help reduce the extra processing power and database queries which usually slow down a Magento website.

Bugs can slow down the loading time and performance of any website. Latest version of Magento will be free of bugs and will be optimized for best performance.

Magento Speed Optimization Techniques

9

Flat catalog quickens the search for a query in the tables of the ecommerce store.

How to do it:★ Follow the path: Magento Admin -

> System -> Configuration -> Catalog (left panel) -> Frontend

★ Expand the Frontend section and enabled ‘Yes’ for both Flat catalog category and Product.

★ Save config & refresh the page cache for changes to take place.

1. New Releases have big fixes

2. Enable ‘Flat Catalog’

3. Reduce 3rd party extensions

4. Enable Cache Configuration

10

Turning on cache management ensures that the website cache is cleared on a routine basis keeping the website loading speed at a bare minimum.

How to do it: 1. File System -> APC -> Memcached -> Redis Cache -> Varnish cache

2. Enable all the items in the cache management directory & ‘Enable’ them for best results

3. Save config & refresh the Page Cache for the changes to take place.

Streamlining Static Content Size & Distribution

11

CDNs distribute static content to the user based based on geographical location. The location targeted content distribution helps cut down the time which otherwise will be required for transmitting data across a distance.

Images occupy a major portion of a website’s loading speed. Compressing image sizes using applications like Adobe Photoshop, Picasa, etc. will help in reducing the loading time.

7. Enable magento compilerEnabling Magento compiler helps to compile all installation files under a single path. Enabling Magento compiling itself will cut down page loading speed from present rates to one half or one fourth. To enable Magento Compiler: Admin Panel -> System -> Tools -> Compilation

5. Compress image sizes 6. Content distribution networks

8. Merge JavaScript & CSS files

12

Merging JS and CSS files helps reduce the number of HTTP requests raised each time the user visits the website.

Reduced HTTP requests = Faster loading time

★ Activate MySQL Database cache using the query_cache_size parameter.

★ Increase realpath_cache_size to maximum to reduce the number of disk lookups which in turn will accelerate page loading speed.

9. MySQL Configuration

13

10. Deploy Varnish & Nginx Caching

14

★ For websites that are heavy with static and dynamic content, enabling varnish caching is an excellent way to reduce the page loading speed.

★ Varnish is a reverse proxy where a cache version of the website is created when the users logs into the website for the first time.

★ The cache version is accessed when the user logs in the second time for delivering content thus quickening the page loading speed.

Gain from Apptha’s Decade Long Expertise.

Contact Us www.apptha.com [email protected] Share Your Thoughts

15

Reduce Your Website Loading Speed Under 3 seconds

Flat!

Find out How we can help.

Get In Touch