SlideShare a Scribd company logo
Site Speed Tune Up – Putting Your Code on a Diet


Brennan Heyde
Technical Director – Professional Services
3/8/2012
Overview

  • Site Speed – Why Should You Care?
  • How to analyze your site speed
  • Techniques used to increase troubleshoot
    problems and increase your site speed
  • Testing Tools
  • Beyond Coding – Tools to take your site
    speed to the next level
Why you should care – Visitor Abandonment

   • Reduced Bounce Rate -
     According to surveys
     done by Akamai and
     Gomez.com, nearly half
     of web users expect a
     site to load in 2 seconds
     or less, and they tend to
                                 Source: Kiss Metrics
     abandon a site that isn’t
     loaded within 3 seconds.
Conversion Rate
  • A 1 second delay in page response can result in a 7%
    reduction in conversions – Kiss Metrics

  • From Shopzilla.com: Improving the site speed of this popular
    ecommerce portal by 20% resulted in an improvement in
    conversion rates of 7% to 12%. Page views went up by 25%.

  • Tests at Amazon, also in 2007 revealed similar results: every
    100 ms (that’s 1 tenth of a second) increase in page load time
    of Amazon.com decreased sales by 1%.
SEO – Used in Google’s Ranking

  • April 2010 – Site Speed is one of the 200
    metrics used to rank a web page.

  • “While site speed is a new signal, it doesn't
    carry as much weight as the relevance of a
    page. Currently, fewer than 1% of search
    queries are affected by the site speed signal
    in our implementation”
Where Do I start?
                                                  Image Sprite

   1. Front End Optimization
        - Reduce number of server requests
            - Combine CSS/JS Files
            - Use Sprites for icons
        - Optimize Images
        - Utilize Compression / Caching
        - Minify CSS / JavaScript
        - Fix all broken Images (404 errors)
        - Calls to External Websites (facebook)
Compression – How It Works
                     gidnetwork.com/tools/gzio-test.php




                      Compression can be turned on
                      in your .htaccess file on your
                      server
Tools - https://developers.google.com/pagespeed/
Results:
How Fast is My Site?
Test with FireBug /FireFox / Chrome Developer Tools
Other Tools:
   • www.pagespeedtest.org
   • http://tools.pingdom.com/fpt/
   • http://developer.yahoo.com/yslow/
Google Webmaster Tools
 Let Google tell you the speed of your website:




* Data comes from users with Google Toolbar
2. Backend Optimization
   • Bad Coding / Logic Errors (Typically Using a
     3rd party module)

   • Poor Performing Modules / Non Updated
     Modules / Module Maintenance

   • Server Capacity – Can your server handle
     your traffic? Do you know your servers
     limits?
Bad Coding
  • Calls to external files / Scripts
  • Loops / Logic Errors
  • Iframes
Tools Used for Troubleshooting

  • Miva Empresa Engine Logging

  • Any 5.10 and higher Miva Merchant Engine can
    log every action to find module performance
    issues. (see release notes for implementation)

  • Example: isokineticsinc.com
Modules

  • Poor Performing Modules
  • Not Keeping Modules up to date
  • Module Maintenance
    • Large Database Files
Server Capacity
• Who knows the specs of their server?
• Who knows their traffic?
      - Unique Visitors/day
      - Average Pageviews/ visitor
• Make sure your server is not the cause of your
  site’s slow performance
• Quality Miva Merchant Host
Visits per Day / Page Views
                                                                                    Hits Per Day

               2,000,000

               1,800,000

               1,600,000
               1,400,000
  Page Views




               1,200,000

               1,000,000                                                                                        Page Hits/Day

                800,000

                600,000
                400,000

                200,000

                      0
                                              00


                                                        00


                                                                  00


                                                                            00


                                                                                      00


                                                                                                00


                                                                                                            0


                                                                                                            0


                                                                                                            0


                                                                                                            0


                                                                                                            0
                            0


                                     8




                                                                                                          00


                                                                                                          00


                                                                                                          00


                                                                                                          00


                                                                                                          00
                          00


                                   30


                                            ,0


                                                      ,0


                                                                ,0


                                                                          ,0


                                                                                    ,0


                                                                                              ,0

                                                                                                        0,


                                                                                                        0,


                                                                                                        0,


                                                                                                        0,


                                                                                                        0,
                       5,


                                6,

                                         10


                                                   20


                                                             30


                                                                       40


                                                                                 50


                                                                                           75

                                                                                                     10


                                                                                                     20


                                                                                                     30


                                                                                                     40


                                                                                                     50
                                                                                   Visits/Day
Hits/Second Needed to Handle Visitors
                                                               Server Capacity Needed in Hits/Second

                 35.0

                 30.0


                 25.0
   Hits/Second




                 20.0
                                                                                                             Hits/Second
                 15.0

                 10.0


                  5.0

                  0.0
                                           00


                                                     00


                                                               00


                                                                         00


                                                                                   00


                                                                                             00



                                                                                                         0


                                                                                                         0


                                                                                                         0


                                                                                                         0


                                                                                                         0
                         0


                                  8




                                                                                                       00


                                                                                                       00


                                                                                                       00


                                                                                                       00


                                                                                                       00
                       00


                                30


                                         ,0


                                                   ,0


                                                             ,0


                                                                       ,0


                                                                                 ,0


                                                                                           ,0


                                                                                                     0,


                                                                                                     0,


                                                                                                     0,


                                                                                                     0,


                                                                                                     0,
                    5,


                             6,


                                      10


                                                20


                                                          30


                                                                    40


                                                                              50


                                                                                        75


                                                                                                  10


                                                                                                  20


                                                                                                  30


                                                                                                  40


                                                                                                  50
                                                                                Visits/Day
Server Testing Tools

   • ab – Part of Apache, will show how many
     requests per second your Apache installation is
     capable of serving

   • Httperf - It provides a flexible facility for
     generating various HTTP workloads and for
     measuring server performance

   * Always test in a DEV environment.
Recap

  Three Areas to Look At To Improve Site Speed

    1. Front End Optimization
    2. Backend Optimization
    3. Server Performance

    What Else Can You Do?
What Next?

  Merchant Optimizer – Converts all your dynamic
   pages into static HTML pages.

  - Will lose some dynamic content such as mini
    basket.

  - 38 times server performance increase in our
    testing
1000
                                                                797.2
                                                                             704.37        704.64
                                                  582.51                                                 594.85


                                     365.71


                        222.45


           143.63

 100




                                                                                                                  Current Dynami c
                                                                                                                  Current Stati c
                                                                20.94                                             Ol d Dynami c
                                                                             18.96
                                                                                           17.18
                                                                                           14.32         15
                                                                                                         14.3
                                                                             13.92
                                                  12.63         12.86
  10

                                                  7.55
                                     6.93


                        4.28
                                     3.59
           2.87
                        2.47

           1.81



   1
       1            2            4            8            16           24            32            40
3rd Party Services

   • Altruik – Domain Sharding
     • Loading images from different sub domains at the
       same time


   • Front End Content Delivery Network
     • Blaze.io
     • Yotta.com
     • CloudFlare.com
Q/A

  Any Questions?

  Thank You!

More Related Content

What's hot

Global SNCF Mobility Index Presentation at SPREAD
Global SNCF Mobility Index Presentation at SPREAD Global SNCF Mobility Index Presentation at SPREAD
Global SNCF Mobility Index Presentation at SPREAD André Schneider
 
Ei09 Opposite Green
Ei09 Opposite GreenEi09 Opposite Green
Ei09 Opposite Green
nmoroney
 
Forward backward roll and g scale
Forward  backward roll and g scaleForward  backward roll and g scale
Forward backward roll and g scaleLeo Crossfield
 
б.уранхүрэл судалгаа
б.уранхүрэл судалгааб.уранхүрэл судалгаа
б.уранхүрэл судалгааUranhurel
 
Shape from Distortion - 3D Digitization
Shape from Distortion - 3D DigitizationShape from Distortion - 3D Digitization
Shape from Distortion - 3D Digitization
Vanya Valindria
 
Basic right hand backward roll
Basic right hand backward rollBasic right hand backward roll
Basic right hand backward rollLeo Crossfield
 
TV Monthly Report Mar 2011 (Pakistan)
TV Monthly Report Mar 2011 (Pakistan)TV Monthly Report Mar 2011 (Pakistan)
TV Monthly Report Mar 2011 (Pakistan)Ejaz Asi
 
TV Monthly Report Feb 2011 (Pakistan)
TV Monthly Report Feb 2011 (Pakistan)TV Monthly Report Feb 2011 (Pakistan)
TV Monthly Report Feb 2011 (Pakistan)Ejaz Asi
 
Building science 1 (bld60803 arc2423) module outline - 24 august 2015
Building science 1 (bld60803 arc2423)   module outline - 24 august 2015Building science 1 (bld60803 arc2423)   module outline - 24 august 2015
Building science 1 (bld60803 arc2423) module outline - 24 august 2015
Arvindhan Balasingam
 

What's hot (9)

Global SNCF Mobility Index Presentation at SPREAD
Global SNCF Mobility Index Presentation at SPREAD Global SNCF Mobility Index Presentation at SPREAD
Global SNCF Mobility Index Presentation at SPREAD
 
Ei09 Opposite Green
Ei09 Opposite GreenEi09 Opposite Green
Ei09 Opposite Green
 
Forward backward roll and g scale
Forward  backward roll and g scaleForward  backward roll and g scale
Forward backward roll and g scale
 
б.уранхүрэл судалгаа
б.уранхүрэл судалгааб.уранхүрэл судалгаа
б.уранхүрэл судалгаа
 
Shape from Distortion - 3D Digitization
Shape from Distortion - 3D DigitizationShape from Distortion - 3D Digitization
Shape from Distortion - 3D Digitization
 
Basic right hand backward roll
Basic right hand backward rollBasic right hand backward roll
Basic right hand backward roll
 
TV Monthly Report Mar 2011 (Pakistan)
TV Monthly Report Mar 2011 (Pakistan)TV Monthly Report Mar 2011 (Pakistan)
TV Monthly Report Mar 2011 (Pakistan)
 
TV Monthly Report Feb 2011 (Pakistan)
TV Monthly Report Feb 2011 (Pakistan)TV Monthly Report Feb 2011 (Pakistan)
TV Monthly Report Feb 2011 (Pakistan)
 
Building science 1 (bld60803 arc2423) module outline - 24 august 2015
Building science 1 (bld60803 arc2423)   module outline - 24 august 2015Building science 1 (bld60803 arc2423)   module outline - 24 august 2015
Building science 1 (bld60803 arc2423) module outline - 24 august 2015
 

Viewers also liked

Google Analytics for Store Owners - Basic
Google Analytics for Store Owners - BasicGoogle Analytics for Store Owners - Basic
Google Analytics for Store Owners - Basic
mm_merchant
 
A/B Testing with Website Optimizer
A/B Testing with Website OptimizerA/B Testing with Website Optimizer
A/B Testing with Website Optimizer
mm_merchant
 
Rick Wilson Keynote Miva Merchant Conference 2012
Rick Wilson Keynote Miva Merchant Conference 2012Rick Wilson Keynote Miva Merchant Conference 2012
Rick Wilson Keynote Miva Merchant Conference 2012
mm_merchant
 
Google Analytics for Store Owners - Intermediate
Google Analytics for Store Owners - IntermediateGoogle Analytics for Store Owners - Intermediate
Google Analytics for Store Owners - Intermediate
mm_merchant
 
Store of the Future, a Playbook for Retail Sponsors and Leaders
Store of the Future, a Playbook for Retail Sponsors and LeadersStore of the Future, a Playbook for Retail Sponsors and Leaders
Store of the Future, a Playbook for Retail Sponsors and Leaders
Mike Wittenstein
 
Brand + shopper = in-store analytics & adaptive content
Brand + shopper = in-store analytics & adaptive contentBrand + shopper = in-store analytics & adaptive content
Brand + shopper = in-store analytics & adaptive content
Inside Visions
 
Understand In-Store Shopper Behavior With Precise Location Analytics
Understand In-Store Shopper Behavior With Precise Location AnalyticsUnderstand In-Store Shopper Behavior With Precise Location Analytics
Understand In-Store Shopper Behavior With Precise Location Analytics
G3 Communications
 

Viewers also liked (7)

Google Analytics for Store Owners - Basic
Google Analytics for Store Owners - BasicGoogle Analytics for Store Owners - Basic
Google Analytics for Store Owners - Basic
 
A/B Testing with Website Optimizer
A/B Testing with Website OptimizerA/B Testing with Website Optimizer
A/B Testing with Website Optimizer
 
Rick Wilson Keynote Miva Merchant Conference 2012
Rick Wilson Keynote Miva Merchant Conference 2012Rick Wilson Keynote Miva Merchant Conference 2012
Rick Wilson Keynote Miva Merchant Conference 2012
 
Google Analytics for Store Owners - Intermediate
Google Analytics for Store Owners - IntermediateGoogle Analytics for Store Owners - Intermediate
Google Analytics for Store Owners - Intermediate
 
Store of the Future, a Playbook for Retail Sponsors and Leaders
Store of the Future, a Playbook for Retail Sponsors and LeadersStore of the Future, a Playbook for Retail Sponsors and Leaders
Store of the Future, a Playbook for Retail Sponsors and Leaders
 
Brand + shopper = in-store analytics & adaptive content
Brand + shopper = in-store analytics & adaptive contentBrand + shopper = in-store analytics & adaptive content
Brand + shopper = in-store analytics & adaptive content
 
Understand In-Store Shopper Behavior With Precise Location Analytics
Understand In-Store Shopper Behavior With Precise Location AnalyticsUnderstand In-Store Shopper Behavior With Precise Location Analytics
Understand In-Store Shopper Behavior With Precise Location Analytics
 

Similar to Site Speed Tuneup: Putting Your Code On A Diet

Combo exceltimesheet
Combo exceltimesheetCombo exceltimesheet
Combo exceltimesheetConfidential
 
Combo exceltimesheet 1
Combo exceltimesheet 1Combo exceltimesheet 1
Combo exceltimesheet 1Confidential
 
Copy of combo exceltimesheet
Copy of combo exceltimesheetCopy of combo exceltimesheet
Copy of combo exceltimesheetConfidential
 
Combo exceltimesheet
Combo exceltimesheetCombo exceltimesheet
Combo exceltimesheetConfidential
 
AR4 - Interest and Dividend Schedule
AR4 - Interest and Dividend ScheduleAR4 - Interest and Dividend Schedule
AR4 - Interest and Dividend Scheduletaxman taxman
 
tax.utah.gov forms current tc tc-420a
tax.utah.gov forms current tc  tc-420atax.utah.gov forms current tc  tc-420a
tax.utah.gov forms current tc tc-420ataxman taxman
 
Ts0012291251 (autosaved)
Ts0012291251 (autosaved)Ts0012291251 (autosaved)
Ts0012291251 (autosaved)Confidential
 
TFM Search Engine Marketing Benchmark Report
TFM Search Engine Marketing Benchmark ReportTFM Search Engine Marketing Benchmark Report
TFM Search Engine Marketing Benchmark ReportEconsultancy
 
AR1800 - State Political Contribution Schedule
AR1800 - State Political Contribution ScheduleAR1800 - State Political Contribution Schedule
AR1800 - State Political Contribution Scheduletaxman taxman
 
Hours for Tutors in China
Hours for Tutors in ChinaHours for Tutors in China
Hours for Tutors in Chinajohn woodberry
 
Hours for Tutors in China
Hours for Tutors in ChinaHours for Tutors in China
Hours for Tutors in Chinajohn woodberry
 
Artefatos para gestão de problemas
Artefatos para gestão de problemasArtefatos para gestão de problemas
Artefatos para gestão de problemas
Fernando Palma
 

Similar to Site Speed Tuneup: Putting Your Code On A Diet (20)

Combo exceltimesheet
Combo exceltimesheetCombo exceltimesheet
Combo exceltimesheet
 
Combo exceltimesheet 1
Combo exceltimesheet 1Combo exceltimesheet 1
Combo exceltimesheet 1
 
Copy of combo exceltimesheet
Copy of combo exceltimesheetCopy of combo exceltimesheet
Copy of combo exceltimesheet
 
Combo exceltimesheet
Combo exceltimesheetCombo exceltimesheet
Combo exceltimesheet
 
AR4 - Interest and Dividend Schedule
AR4 - Interest and Dividend ScheduleAR4 - Interest and Dividend Schedule
AR4 - Interest and Dividend Schedule
 
Fill In
Fill InFill In
Fill In
 
tax.utah.gov forms current tc tc-420a
tax.utah.gov forms current tc  tc-420atax.utah.gov forms current tc  tc-420a
tax.utah.gov forms current tc tc-420a
 
Ts0012291251
Ts0012291251Ts0012291251
Ts0012291251
 
Ts0012291251 (autosaved)
Ts0012291251 (autosaved)Ts0012291251 (autosaved)
Ts0012291251 (autosaved)
 
TFM Search Engine Marketing Benchmark Report
TFM Search Engine Marketing Benchmark ReportTFM Search Engine Marketing Benchmark Report
TFM Search Engine Marketing Benchmark Report
 
Risk log
Risk logRisk log
Risk log
 
Risk Log
Risk LogRisk Log
Risk Log
 
AR1800 - State Political Contribution Schedule
AR1800 - State Political Contribution ScheduleAR1800 - State Political Contribution Schedule
AR1800 - State Political Contribution Schedule
 
Fill In
Fill InFill In
Fill In
 
Cashflow statement form
Cashflow statement formCashflow statement form
Cashflow statement form
 
Empty template
Empty templateEmpty template
Empty template
 
Hours for Tutors in China
Hours for Tutors in ChinaHours for Tutors in China
Hours for Tutors in China
 
Hours for Tutors in China
Hours for Tutors in ChinaHours for Tutors in China
Hours for Tutors in China
 
Artefatos para gestão de problemas
Artefatos para gestão de problemasArtefatos para gestão de problemas
Artefatos para gestão de problemas
 
www.energypluslight.com
www.energypluslight.comwww.energypluslight.com
www.energypluslight.com
 

Recently uploaded

Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 

Recently uploaded (20)

Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 

Site Speed Tuneup: Putting Your Code On A Diet

  • 1. Site Speed Tune Up – Putting Your Code on a Diet Brennan Heyde Technical Director – Professional Services 3/8/2012
  • 2. Overview • Site Speed – Why Should You Care? • How to analyze your site speed • Techniques used to increase troubleshoot problems and increase your site speed • Testing Tools • Beyond Coding – Tools to take your site speed to the next level
  • 3. Why you should care – Visitor Abandonment • Reduced Bounce Rate - According to surveys done by Akamai and Gomez.com, nearly half of web users expect a site to load in 2 seconds or less, and they tend to Source: Kiss Metrics abandon a site that isn’t loaded within 3 seconds.
  • 4. Conversion Rate • A 1 second delay in page response can result in a 7% reduction in conversions – Kiss Metrics • From Shopzilla.com: Improving the site speed of this popular ecommerce portal by 20% resulted in an improvement in conversion rates of 7% to 12%. Page views went up by 25%. • Tests at Amazon, also in 2007 revealed similar results: every 100 ms (that’s 1 tenth of a second) increase in page load time of Amazon.com decreased sales by 1%.
  • 5. SEO – Used in Google’s Ranking • April 2010 – Site Speed is one of the 200 metrics used to rank a web page. • “While site speed is a new signal, it doesn't carry as much weight as the relevance of a page. Currently, fewer than 1% of search queries are affected by the site speed signal in our implementation”
  • 6. Where Do I start? Image Sprite 1. Front End Optimization - Reduce number of server requests - Combine CSS/JS Files - Use Sprites for icons - Optimize Images - Utilize Compression / Caching - Minify CSS / JavaScript - Fix all broken Images (404 errors) - Calls to External Websites (facebook)
  • 7. Compression – How It Works gidnetwork.com/tools/gzio-test.php Compression can be turned on in your .htaccess file on your server
  • 10. How Fast is My Site? Test with FireBug /FireFox / Chrome Developer Tools
  • 11. Other Tools: • www.pagespeedtest.org • http://tools.pingdom.com/fpt/ • http://developer.yahoo.com/yslow/
  • 12. Google Webmaster Tools Let Google tell you the speed of your website: * Data comes from users with Google Toolbar
  • 13. 2. Backend Optimization • Bad Coding / Logic Errors (Typically Using a 3rd party module) • Poor Performing Modules / Non Updated Modules / Module Maintenance • Server Capacity – Can your server handle your traffic? Do you know your servers limits?
  • 14. Bad Coding • Calls to external files / Scripts • Loops / Logic Errors • Iframes
  • 15. Tools Used for Troubleshooting • Miva Empresa Engine Logging • Any 5.10 and higher Miva Merchant Engine can log every action to find module performance issues. (see release notes for implementation) • Example: isokineticsinc.com
  • 16. Modules • Poor Performing Modules • Not Keeping Modules up to date • Module Maintenance • Large Database Files
  • 17. Server Capacity • Who knows the specs of their server? • Who knows their traffic? - Unique Visitors/day - Average Pageviews/ visitor • Make sure your server is not the cause of your site’s slow performance • Quality Miva Merchant Host
  • 18. Visits per Day / Page Views Hits Per Day 2,000,000 1,800,000 1,600,000 1,400,000 Page Views 1,200,000 1,000,000 Page Hits/Day 800,000 600,000 400,000 200,000 0 00 00 00 00 00 00 0 0 0 0 0 0 8 00 00 00 00 00 00 30 ,0 ,0 ,0 ,0 ,0 ,0 0, 0, 0, 0, 0, 5, 6, 10 20 30 40 50 75 10 20 30 40 50 Visits/Day
  • 19. Hits/Second Needed to Handle Visitors Server Capacity Needed in Hits/Second 35.0 30.0 25.0 Hits/Second 20.0 Hits/Second 15.0 10.0 5.0 0.0 00 00 00 00 00 00 0 0 0 0 0 0 8 00 00 00 00 00 00 30 ,0 ,0 ,0 ,0 ,0 ,0 0, 0, 0, 0, 0, 5, 6, 10 20 30 40 50 75 10 20 30 40 50 Visits/Day
  • 20. Server Testing Tools • ab – Part of Apache, will show how many requests per second your Apache installation is capable of serving • Httperf - It provides a flexible facility for generating various HTTP workloads and for measuring server performance * Always test in a DEV environment.
  • 21. Recap Three Areas to Look At To Improve Site Speed 1. Front End Optimization 2. Backend Optimization 3. Server Performance What Else Can You Do?
  • 22. What Next? Merchant Optimizer – Converts all your dynamic pages into static HTML pages. - Will lose some dynamic content such as mini basket. - 38 times server performance increase in our testing
  • 23. 1000 797.2 704.37 704.64 582.51 594.85 365.71 222.45 143.63 100 Current Dynami c Current Stati c 20.94 Ol d Dynami c 18.96 17.18 14.32 15 14.3 13.92 12.63 12.86 10 7.55 6.93 4.28 3.59 2.87 2.47 1.81 1 1 2 4 8 16 24 32 40
  • 24. 3rd Party Services • Altruik – Domain Sharding • Loading images from different sub domains at the same time • Front End Content Delivery Network • Blaze.io • Yotta.com • CloudFlare.com
  • 25.
  • 26. Q/A Any Questions? Thank You!