SlideShare uma empresa Scribd logo
1 de 23
Baixar para ler offline
Building High Performance
Web Sites
Praveen P. N ( @holydevil )
2006
2011




trademarks and logos are the property of their respective owners
How the browser works
Latency

I/O latency
L1: 3 cycles
L2: 14 cycles
RAM: 250 cycles
DISK: 41,000,000 cycles
NETWORK: 240,000,000 cycles
Everybody makes mistakes
Here are some common ones to avoid …
Not measuring is BAD




Tools: Boomerang, WebPagetest, YSlow, Pagespeed, etc.
Measuring wrong pages is
           WORSE
!   Find where users spends most of their time

!   Look for patterns

e.g. News Site
                   Traffic


                             Home page
                             Article page
                             Photos page
Cookie free domains
!      rediff.com                                              ✗
!      indiatimes.com                                          ✗
!      in.com                                                  ✗
!      microsoft.com                                           ✗
!   way2sms.com                                                ✗
!      sulekha.com                                             ✗
!      moneycontrol.com                                        ✗


Note: Randomly picked sites from Alexa top 50 list for India
Getting Caching wrong
HTTP/1.1 200 OK!

Date: Mon, 25 Jul 2011 11:39:55 GMT!

Expires: Tue, 22 Jul 2011 11:39:55 GMT!

Last-Modified: Tue, 22 Jul 2011 11:30:45 GMT!

!

HTTP/1.1 200 OK!

Cache-Control: private!

Date: Fri, 29 Jul 2011 17:23:34 GMT!

Content-Length: 834!
Proof
HTTP/1.1 200 OK!

Date: Mon, 25 Jul 2011 11:39:55 GMT!

Cache-Control: no-cache!

Last-Modified: Tue, 22 Jul 2011 11:30:45 GMT!

!




Source: httparchive.org
Big Wins
Post-load content




below the fold
Yahoo! News
Image optimization




        Source: httparchive.org




Tools: smush.it, pngcrush, etc.
Use a CDN
An example

> www.example.com has 30 components(images+css+js)

> All components are served from US and user is in India
Average latency to US = 300ms

30 X 300 ms = 9 sec (page load time)

> If content is served by a CDN from India
Average latency within India = 50ms

30 X 50ms = 1.5 sec (page load time)
Selective loading of JavaScript




         Source: httparchive.org




!   Load JavaScript that is required for basic features

!   Defer the loading of other JS files based on time or user
   activity
What do I do now?
TO-Do
!   Start measuring
    !   Use Boomerang, WPT, ShowSlow, etc.

!   Use proven tools to find problems
      !      Yslow, Pagespeed, Dynatrace, etc.

!         Fix issues

!   Look at results

!   WIN!
Thank you!
and Questions
Contact
praveenp@yahoo-inc.com or @holydevil
Credits

!     http://www.flickr.com/photos/sixthlie/4462063010/

!     http://www.flickr.com/photos/aussiegall/286709039/

!     http://www.flickr.com/photos/ryusha/2438452274/

Trademarks and logos used in this presentation are the property of their respective
owners

!     Slides will be available on Slideshare

Mais conteúdo relacionado

Mais procurados

How to optimize and speed-up your website. The complete guide.
How to optimize and speed-up your website. The complete guide.How to optimize and speed-up your website. The complete guide.
How to optimize and speed-up your website. The complete guide.Adam Mucha
 
The Need For Speed
The Need For SpeedThe Need For Speed
The Need For SpeedAndy Davies
 
10 tips to improve the usability of Joomla - Joomla World Conference 2014
10 tips to improve the usability of Joomla - Joomla World Conference 201410 tips to improve the usability of Joomla - Joomla World Conference 2014
10 tips to improve the usability of Joomla - Joomla World Conference 2014Sander Potjer
 
Website Debugging with Vorlon.js
Website Debugging with Vorlon.jsWebsite Debugging with Vorlon.js
Website Debugging with Vorlon.jsJoshua Drew
 
Making Mobile Sites Faster
Making Mobile Sites FasterMaking Mobile Sites Faster
Making Mobile Sites FasterAndy Davies
 
Amboss proxy tutorial
Amboss proxy tutorialAmboss proxy tutorial
Amboss proxy tutorialLouisugh
 
Web Performance 101
Web Performance 101Web Performance 101
Web Performance 101Uri Lavi
 

Mais procurados (7)

How to optimize and speed-up your website. The complete guide.
How to optimize and speed-up your website. The complete guide.How to optimize and speed-up your website. The complete guide.
How to optimize and speed-up your website. The complete guide.
 
The Need For Speed
The Need For SpeedThe Need For Speed
The Need For Speed
 
10 tips to improve the usability of Joomla - Joomla World Conference 2014
10 tips to improve the usability of Joomla - Joomla World Conference 201410 tips to improve the usability of Joomla - Joomla World Conference 2014
10 tips to improve the usability of Joomla - Joomla World Conference 2014
 
Website Debugging with Vorlon.js
Website Debugging with Vorlon.jsWebsite Debugging with Vorlon.js
Website Debugging with Vorlon.js
 
Making Mobile Sites Faster
Making Mobile Sites FasterMaking Mobile Sites Faster
Making Mobile Sites Faster
 
Amboss proxy tutorial
Amboss proxy tutorialAmboss proxy tutorial
Amboss proxy tutorial
 
Web Performance 101
Web Performance 101Web Performance 101
Web Performance 101
 

Semelhante a Building High Performance Web Sites

Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"Fwdays
 
Beyond web services: supporting mashup artists at Yahoo!
Beyond web services: supporting mashup artists at Yahoo!Beyond web services: supporting mashup artists at Yahoo!
Beyond web services: supporting mashup artists at Yahoo!Chad Dickerson
 
RioInfo 2007 - Tecnologias Centradas no Usuário
RioInfo 2007 - Tecnologias Centradas no UsuárioRioInfo 2007 - Tecnologias Centradas no Usuário
RioInfo 2007 - Tecnologias Centradas no UsuárioManoel Lemos
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站fish_yy
 
Joomla Presentation
Joomla PresentationJoomla Presentation
Joomla Presentationghessler
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站jonny yan
 
Web Performance 101 - Gil Givati
Web Performance 101 - Gil GivatiWeb Performance 101 - Gil Givati
Web Performance 101 - Gil GivatiMika Josting
 
UXify 2015 - Front-end Developers' Checklist for Better UX
UXify 2015 - Front-end Developers' Checklist for Better UXUXify 2015 - Front-end Developers' Checklist for Better UX
UXify 2015 - Front-end Developers' Checklist for Better UXStoian Dipchikov
 
High Performance Web Design
High Performance Web DesignHigh Performance Web Design
High Performance Web DesignKoji Ishimoto
 
Devdays Seattle jQuery Intro for Developers
Devdays Seattle jQuery Intro for DevelopersDevdays Seattle jQuery Intro for Developers
Devdays Seattle jQuery Intro for Developerscody lindley
 
a11yTO - Web Accessibility for Developers
a11yTO - Web Accessibility for Developersa11yTO - Web Accessibility for Developers
a11yTO - Web Accessibility for DevelopersMonika Piotrowicz
 
AJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD ModuleAJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD ModuleCharlie Perrins
 
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...javier ramirez
 
Finding harmony in web development
Finding harmony in web developmentFinding harmony in web development
Finding harmony in web developmentChristian Heilmann
 
Mobile Web Performance - Getting and Staying Fast
Mobile Web Performance -  Getting and Staying FastMobile Web Performance -  Getting and Staying Fast
Mobile Web Performance - Getting and Staying FastAndy Davies
 
Untangling The Web For Educators
Untangling The Web For EducatorsUntangling The Web For Educators
Untangling The Web For Educatorsmmonjan
 
Develop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offlineDevelop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offlineJan Jongboom
 

Semelhante a Building High Performance Web Sites (20)

Os Souders
Os SoudersOs Souders
Os Souders
 
After YSlow "A"
After YSlow "A"After YSlow "A"
After YSlow "A"
 
Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"
 
Beyond web services: supporting mashup artists at Yahoo!
Beyond web services: supporting mashup artists at Yahoo!Beyond web services: supporting mashup artists at Yahoo!
Beyond web services: supporting mashup artists at Yahoo!
 
RioInfo 2007 - Tecnologias Centradas no Usuário
RioInfo 2007 - Tecnologias Centradas no UsuárioRioInfo 2007 - Tecnologias Centradas no Usuário
RioInfo 2007 - Tecnologias Centradas no Usuário
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
 
Joomla Presentation
Joomla PresentationJoomla Presentation
Joomla Presentation
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
 
Web Performance 101 - Gil Givati
Web Performance 101 - Gil GivatiWeb Performance 101 - Gil Givati
Web Performance 101 - Gil Givati
 
UXify 2015 - Front-end Developers' Checklist for Better UX
UXify 2015 - Front-end Developers' Checklist for Better UXUXify 2015 - Front-end Developers' Checklist for Better UX
UXify 2015 - Front-end Developers' Checklist for Better UX
 
High Performance Web Design
High Performance Web DesignHigh Performance Web Design
High Performance Web Design
 
Devdays Seattle jQuery Intro for Developers
Devdays Seattle jQuery Intro for DevelopersDevdays Seattle jQuery Intro for Developers
Devdays Seattle jQuery Intro for Developers
 
a11yTO - Web Accessibility for Developers
a11yTO - Web Accessibility for Developersa11yTO - Web Accessibility for Developers
a11yTO - Web Accessibility for Developers
 
AJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD ModuleAJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD Module
 
Mobile web performance dwx13
Mobile web performance dwx13Mobile web performance dwx13
Mobile web performance dwx13
 
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
 
Finding harmony in web development
Finding harmony in web developmentFinding harmony in web development
Finding harmony in web development
 
Mobile Web Performance - Getting and Staying Fast
Mobile Web Performance -  Getting and Staying FastMobile Web Performance -  Getting and Staying Fast
Mobile Web Performance - Getting and Staying Fast
 
Untangling The Web For Educators
Untangling The Web For EducatorsUntangling The Web For Educators
Untangling The Web For Educators
 
Develop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offlineDevelop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offline
 

Último

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 

Último (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Building High Performance Web Sites

  • 1.
  • 2. Building High Performance Web Sites Praveen P. N ( @holydevil )
  • 4. 2011 trademarks and logos are the property of their respective owners
  • 6. Latency I/O latency L1: 3 cycles L2: 14 cycles RAM: 250 cycles DISK: 41,000,000 cycles NETWORK: 240,000,000 cycles
  • 7. Everybody makes mistakes Here are some common ones to avoid …
  • 8. Not measuring is BAD Tools: Boomerang, WebPagetest, YSlow, Pagespeed, etc.
  • 9. Measuring wrong pages is WORSE !   Find where users spends most of their time !   Look for patterns e.g. News Site Traffic Home page Article page Photos page
  • 10. Cookie free domains ! rediff.com ✗ ! indiatimes.com ✗ ! in.com ✗ ! microsoft.com ✗ !   way2sms.com ✗ ! sulekha.com ✗ ! moneycontrol.com ✗ Note: Randomly picked sites from Alexa top 50 list for India
  • 11. Getting Caching wrong HTTP/1.1 200 OK! Date: Mon, 25 Jul 2011 11:39:55 GMT! Expires: Tue, 22 Jul 2011 11:39:55 GMT! Last-Modified: Tue, 22 Jul 2011 11:30:45 GMT! ! HTTP/1.1 200 OK! Cache-Control: private! Date: Fri, 29 Jul 2011 17:23:34 GMT! Content-Length: 834!
  • 12. Proof HTTP/1.1 200 OK! Date: Mon, 25 Jul 2011 11:39:55 GMT! Cache-Control: no-cache! Last-Modified: Tue, 22 Jul 2011 11:30:45 GMT! ! Source: httparchive.org
  • 16. Image optimization Source: httparchive.org Tools: smush.it, pngcrush, etc.
  • 17. Use a CDN An example > www.example.com has 30 components(images+css+js) > All components are served from US and user is in India Average latency to US = 300ms 30 X 300 ms = 9 sec (page load time) > If content is served by a CDN from India Average latency within India = 50ms 30 X 50ms = 1.5 sec (page load time)
  • 18. Selective loading of JavaScript Source: httparchive.org !   Load JavaScript that is required for basic features !   Defer the loading of other JS files based on time or user activity
  • 19. What do I do now?
  • 20. TO-Do !   Start measuring !   Use Boomerang, WPT, ShowSlow, etc. !   Use proven tools to find problems ! Yslow, Pagespeed, Dynatrace, etc. !   Fix issues !   Look at results !   WIN!
  • 23. Credits ! http://www.flickr.com/photos/sixthlie/4462063010/ ! http://www.flickr.com/photos/aussiegall/286709039/ ! http://www.flickr.com/photos/ryusha/2438452274/ Trademarks and logos used in this presentation are the property of their respective owners !   Slides will be available on Slideshare