SlideShare a Scribd company logo
High Performance Web Sites
Alexandre Porfírio
http://alexandreporfirio.com
#1   Make Fewer HTTP




     http://www.alexandreporfirio.com   2
#2   Use a Content Delivery Network




         http://www.alexandreporfirio.com   3
#3   Simple HTTP header




     http://www.alexandreporfirio.com   4
#4   Gzip compression




     http://www.alexandreporfirio.com   5
#5   Put Stylesheets at the Top




        http://www.alexandreporfirio.com   6
#6   Put Scripts at the Bottom




       http://www.alexandreporfirio.com   7
#7   Avoid CSS expressions




      http://www.alexandreporfirio.com   8
#8   JavaScript and CSS external




        http://www.alexandreporfirio.com   9
#9   Reduce DNS Lookups




     http://www.alexandreporfirio.com   10
#10      Minify JavaScript




      http://www.alexandreporfirio.com   11
#11       Avoid Redirects




      http://www.alexandreporfirio.com   12
#12   Remove duplicate scripts




         http://www.alexandreporfirio.com   13
#13    Configure ETags




      http://www.alexandreporfirio.com   14
#14   Make Ajax cacheable




       http://www.alexandreporfirio.com   15
Uses redirects
   Amazon            no
   CNN              yes ................. Initial page
   eBay             yes ................ Secondary page
   MSN              yes ................ Initial page
   Wikipedia        yes ................ Secondary page
   Google            no



                  http://www.alexandreporfirio.com     16
time


Redirect

HTML

Script

Stylesheet

Stylesheet

Stylesheet

Image




             http://www.alexandreporfirio.com      17
External scripts minified
   Amazon      ............................................ no
   CNN          ............................................ no
   eBay        ............................................ yes
   MSN         ............................................ yes
   Wikipedia   ............................................ no
   Google      ........................................... yes



                      http://www.alexandreporfirio.com             18
External minified                      |   Inline minified

   Amazon              no ........................... no
   CNN                 no ........................... no
   eBay               yes ........................... no
   MSN                yes ........................... no
   Wikipedia           no ........................... no
   Google              yes ........................... yes



                    http://www.alexandreporfirio.com                         19
Duplicate Script
                     Scripts                          Stylesheets
   Amazon                3      .......................... 1
   CNN                 11       .......................... 2
   eBay                 7       .......................... 2
   MSN                  9       .......................... 1
   Wikipedia            3       .......................... 1
   Google              1        .......................... 1

                   http://www.alexandreporfirio.com                 20
Page weight | Response time
   Amazon        405k ................. 15.9 sec
   CNN           182k ................. 11.5 sec
   eBay          275 k ................ 9.6 sec
   MSN           221k ................ 9.3 sec
   Wikipedia     106k ................ 6.2 sec
   Google          18k ................ 1.7 sec



                http://www.alexandreporfirio.com    21
Gzip | JSMin Dojo | Compressor


 Amazon       48k ............ 7k .................. 6k
 CNN         29k ............. 6k .................. 6k
 Wikipedia   13k ..............5k ................... 5k




                http://www.alexandreporfirio.com            22
Thank you!


Alexandre Porfírio
http://alexandreporfirio.com


                        http://www.alexandreporfirio.com   23

More Related Content

Viewers also liked

2014 dome survey results summary blaze digitalcinemaworks_030814
2014 dome survey results summary blaze digitalcinemaworks_0308142014 dome survey results summary blaze digitalcinemaworks_030814
2014 dome survey results summary blaze digitalcinemaworks_030814
IMERSA
 
Latest Work
Latest WorkLatest Work
Latest Work
wakinyanjui
 
9.26.2011 boston needham
9.26.2011 boston needham9.26.2011 boston needham
9.26.2011 boston needham
jjneedham
 
User Experience Debt: Creating awareness and acting on missed opportunities.
User Experience Debt: Creating awareness and acting on missed opportunities.User Experience Debt: Creating awareness and acting on missed opportunities.
User Experience Debt: Creating awareness and acting on missed opportunities.
Andrew Wright
 
josef_klaasen CV 2015 UPDATED
josef_klaasen CV 2015 UPDATEDjosef_klaasen CV 2015 UPDATED
josef_klaasen CV 2015 UPDATEDJosef Joe Klaasen
 
Luisillo 160617225948
Luisillo 160617225948Luisillo 160617225948
Luisillo 160617225948
LUIGISAMUEL
 
時間はあるけど作業できない
時間はあるけど作業できない時間はあるけど作業できない
時間はあるけど作業できないさい ぞう
 
Guía 2 ayudantía didac. c. s.
Guía 2 ayudantía didac. c. s.Guía 2 ayudantía didac. c. s.
Guía 2 ayudantía didac. c. s.
Basty M
 
Youth Camp Christian - Copycat
Youth Camp Christian - CopycatYouth Camp Christian - Copycat
Youth Camp Christian - Copycat
Ken Sapp
 
Automatisasi Siklus Akuntansi
Automatisasi Siklus AkuntansiAutomatisasi Siklus Akuntansi
Automatisasi Siklus Akuntansi
Rama Firmansyah Poetra
 
Amanda todd
Amanda toddAmanda todd
Amanda todd
Vladimir Hernández
 

Viewers also liked (15)

Task 2 planning
Task 2   planningTask 2   planning
Task 2 planning
 
2014 dome survey results summary blaze digitalcinemaworks_030814
2014 dome survey results summary blaze digitalcinemaworks_0308142014 dome survey results summary blaze digitalcinemaworks_030814
2014 dome survey results summary blaze digitalcinemaworks_030814
 
Impulse response
Impulse responseImpulse response
Impulse response
 
Latest Work
Latest WorkLatest Work
Latest Work
 
9.26.2011 boston needham
9.26.2011 boston needham9.26.2011 boston needham
9.26.2011 boston needham
 
User Experience Debt: Creating awareness and acting on missed opportunities.
User Experience Debt: Creating awareness and acting on missed opportunities.User Experience Debt: Creating awareness and acting on missed opportunities.
User Experience Debt: Creating awareness and acting on missed opportunities.
 
josef_klaasen CV 2015 UPDATED
josef_klaasen CV 2015 UPDATEDjosef_klaasen CV 2015 UPDATED
josef_klaasen CV 2015 UPDATED
 
Luisillo 160617225948
Luisillo 160617225948Luisillo 160617225948
Luisillo 160617225948
 
郭雨青
郭雨青郭雨青
郭雨青
 
Pei centro-educacion-trabajo-desarrollo-humano-udca
Pei centro-educacion-trabajo-desarrollo-humano-udcaPei centro-educacion-trabajo-desarrollo-humano-udca
Pei centro-educacion-trabajo-desarrollo-humano-udca
 
時間はあるけど作業できない
時間はあるけど作業できない時間はあるけど作業できない
時間はあるけど作業できない
 
Guía 2 ayudantía didac. c. s.
Guía 2 ayudantía didac. c. s.Guía 2 ayudantía didac. c. s.
Guía 2 ayudantía didac. c. s.
 
Youth Camp Christian - Copycat
Youth Camp Christian - CopycatYouth Camp Christian - Copycat
Youth Camp Christian - Copycat
 
Automatisasi Siklus Akuntansi
Automatisasi Siklus AkuntansiAutomatisasi Siklus Akuntansi
Automatisasi Siklus Akuntansi
 
Amanda todd
Amanda toddAmanda todd
Amanda todd
 

Similar to High performance web sites

The Total Book Developing Solutions With EPiServer 4
The Total Book Developing Solutions With EPiServer 4The Total Book Developing Solutions With EPiServer 4
The Total Book Developing Solutions With EPiServer 4
Martin Edenström MKSE.com
 
Advanced Java Script.pdf
Advanced Java Script.pdfAdvanced Java Script.pdf
Advanced Java Script.pdf
Sophia Diaz
 
Java web programming
Java web programmingJava web programming
Java web programming
Mumbai Academisc
 
Visual Studio 2008 Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...
Visual Studio 2008   Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...Visual Studio 2008   Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...
Visual Studio 2008 Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...guest4c5b8c4
 
Black_Hat_Python_Python_Programming_for_Hackers_and_Pentesters.pdf
Black_Hat_Python_Python_Programming_for_Hackers_and_Pentesters.pdfBlack_Hat_Python_Python_Programming_for_Hackers_and_Pentesters.pdf
Black_Hat_Python_Python_Programming_for_Hackers_and_Pentesters.pdf
Boucif David
 
Raspberry Pi: Python todo en uno para dummies por John Shovic parte 1.pdf
Raspberry Pi: Python todo en uno para dummies por John Shovic parte 1.pdfRaspberry Pi: Python todo en uno para dummies por John Shovic parte 1.pdf
Raspberry Pi: Python todo en uno para dummies por John Shovic parte 1.pdf
SANTIAGO PABLO ALBERTO
 
Odoo development
Odoo developmentOdoo development
Odoo development
Ramzi Hajjaji
 
java web_programming
java web_programmingjava web_programming
java web_programming
bachector
 
Ibm system storage ds storage manager copy services guide sg247822
Ibm system storage ds storage manager copy services guide sg247822Ibm system storage ds storage manager copy services guide sg247822
Ibm system storage ds storage manager copy services guide sg247822Banking at Ho Chi Minh city
 
Selenium jupiter j-unit 5 extension for selenium and appium
Selenium jupiter  j-unit 5 extension for selenium and appiumSelenium jupiter  j-unit 5 extension for selenium and appium
Selenium jupiter j-unit 5 extension for selenium and appium
Viliamtrobich
 
[Web开发Css系列].Apress.Pro.Css.Techniques.Nov.2006
[Web开发Css系列].Apress.Pro.Css.Techniques.Nov.2006[Web开发Css系列].Apress.Pro.Css.Techniques.Nov.2006
[Web开发Css系列].Apress.Pro.Css.Techniques.Nov.2006
bmchaoshi
 
JavaScript 设计模式
JavaScript 设计模式JavaScript 设计模式
JavaScript 设计模式
guest97dcac3
 
How To Do Everything With JavaScript
How To Do Everything With JavaScriptHow To Do Everything With JavaScript
How To Do Everything With JavaScriptAzharul Haque Shohan
 
Postgresql database administration volume 1
Postgresql database administration volume 1Postgresql database administration volume 1
Postgresql database administration volume 1
Federico Campoli
 
Redp4469
Redp4469Redp4469
Redp4469
Ambresh Kothand
 
Reverse engineering for_beginners-en
Reverse engineering for_beginners-enReverse engineering for_beginners-en
Reverse engineering for_beginners-en
Andri Yabu
 
Selenium python
Selenium pythonSelenium python
Selenium python
Firdos jahan
 
Novell login documentation and troubleshooting
Novell login documentation and troubleshootingNovell login documentation and troubleshooting
Novell login documentation and troubleshooting
Children's Hospitals and Clinics
 

Similar to High performance web sites (20)

The Total Book Developing Solutions With EPiServer 4
The Total Book Developing Solutions With EPiServer 4The Total Book Developing Solutions With EPiServer 4
The Total Book Developing Solutions With EPiServer 4
 
Advanced Java Script.pdf
Advanced Java Script.pdfAdvanced Java Script.pdf
Advanced Java Script.pdf
 
Java web programming
Java web programmingJava web programming
Java web programming
 
Visual Studio 2008 Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...
Visual Studio 2008   Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...Visual Studio 2008   Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...
Visual Studio 2008 Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...
 
Black_Hat_Python_Python_Programming_for_Hackers_and_Pentesters.pdf
Black_Hat_Python_Python_Programming_for_Hackers_and_Pentesters.pdfBlack_Hat_Python_Python_Programming_for_Hackers_and_Pentesters.pdf
Black_Hat_Python_Python_Programming_for_Hackers_and_Pentesters.pdf
 
Raspberry Pi: Python todo en uno para dummies por John Shovic parte 1.pdf
Raspberry Pi: Python todo en uno para dummies por John Shovic parte 1.pdfRaspberry Pi: Python todo en uno para dummies por John Shovic parte 1.pdf
Raspberry Pi: Python todo en uno para dummies por John Shovic parte 1.pdf
 
Odoo development
Odoo developmentOdoo development
Odoo development
 
java web_programming
java web_programmingjava web_programming
java web_programming
 
Ibm system storage ds storage manager copy services guide sg247822
Ibm system storage ds storage manager copy services guide sg247822Ibm system storage ds storage manager copy services guide sg247822
Ibm system storage ds storage manager copy services guide sg247822
 
Selenium jupiter j-unit 5 extension for selenium and appium
Selenium jupiter  j-unit 5 extension for selenium and appiumSelenium jupiter  j-unit 5 extension for selenium and appium
Selenium jupiter j-unit 5 extension for selenium and appium
 
[Web开发Css系列].Apress.Pro.Css.Techniques.Nov.2006
[Web开发Css系列].Apress.Pro.Css.Techniques.Nov.2006[Web开发Css系列].Apress.Pro.Css.Techniques.Nov.2006
[Web开发Css系列].Apress.Pro.Css.Techniques.Nov.2006
 
JavaScript 设计模式
JavaScript 设计模式JavaScript 设计模式
JavaScript 设计模式
 
How To Do Everything With JavaScript
How To Do Everything With JavaScriptHow To Do Everything With JavaScript
How To Do Everything With JavaScript
 
Postgresql database administration volume 1
Postgresql database administration volume 1Postgresql database administration volume 1
Postgresql database administration volume 1
 
Redp4469
Redp4469Redp4469
Redp4469
 
Reverse engineering for_beginners-en
Reverse engineering for_beginners-enReverse engineering for_beginners-en
Reverse engineering for_beginners-en
 
Selenium python
Selenium pythonSelenium python
Selenium python
 
Novell login documentation and troubleshooting
Novell login documentation and troubleshootingNovell login documentation and troubleshooting
Novell login documentation and troubleshooting
 
Powershell selflearn
Powershell selflearnPowershell selflearn
Powershell selflearn
 
Powershell selflearn
Powershell selflearnPowershell selflearn
Powershell selflearn
 

Recently uploaded

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
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
 
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
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
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
 
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
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
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
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
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
 
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
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
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)

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
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 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
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
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
 
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 !
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
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...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
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
 
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...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
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
 

High performance web sites

  • 1. High Performance Web Sites Alexandre Porfírio http://alexandreporfirio.com
  • 2. #1 Make Fewer HTTP http://www.alexandreporfirio.com 2
  • 3. #2 Use a Content Delivery Network http://www.alexandreporfirio.com 3
  • 4. #3 Simple HTTP header http://www.alexandreporfirio.com 4
  • 5. #4 Gzip compression http://www.alexandreporfirio.com 5
  • 6. #5 Put Stylesheets at the Top http://www.alexandreporfirio.com 6
  • 7. #6 Put Scripts at the Bottom http://www.alexandreporfirio.com 7
  • 8. #7 Avoid CSS expressions http://www.alexandreporfirio.com 8
  • 9. #8 JavaScript and CSS external http://www.alexandreporfirio.com 9
  • 10. #9 Reduce DNS Lookups http://www.alexandreporfirio.com 10
  • 11. #10 Minify JavaScript http://www.alexandreporfirio.com 11
  • 12. #11 Avoid Redirects http://www.alexandreporfirio.com 12
  • 13. #12 Remove duplicate scripts http://www.alexandreporfirio.com 13
  • 14. #13 Configure ETags http://www.alexandreporfirio.com 14
  • 15. #14 Make Ajax cacheable http://www.alexandreporfirio.com 15
  • 16. Uses redirects  Amazon no  CNN yes ................. Initial page  eBay yes ................ Secondary page  MSN yes ................ Initial page  Wikipedia yes ................ Secondary page  Google no http://www.alexandreporfirio.com 16
  • 18. External scripts minified  Amazon ............................................ no  CNN ............................................ no  eBay ............................................ yes  MSN ............................................ yes  Wikipedia ............................................ no  Google ........................................... yes http://www.alexandreporfirio.com 18
  • 19. External minified | Inline minified  Amazon no ........................... no  CNN no ........................... no  eBay yes ........................... no  MSN yes ........................... no  Wikipedia no ........................... no  Google yes ........................... yes http://www.alexandreporfirio.com 19
  • 20. Duplicate Script Scripts Stylesheets  Amazon 3 .......................... 1  CNN 11 .......................... 2  eBay 7 .......................... 2  MSN 9 .......................... 1  Wikipedia 3 .......................... 1  Google 1 .......................... 1 http://www.alexandreporfirio.com 20
  • 21. Page weight | Response time  Amazon 405k ................. 15.9 sec  CNN 182k ................. 11.5 sec  eBay 275 k ................ 9.6 sec  MSN 221k ................ 9.3 sec  Wikipedia 106k ................ 6.2 sec  Google 18k ................ 1.7 sec http://www.alexandreporfirio.com 21
  • 22. Gzip | JSMin Dojo | Compressor  Amazon 48k ............ 7k .................. 6k  CNN 29k ............. 6k .................. 6k  Wikipedia 13k ..............5k ................... 5k http://www.alexandreporfirio.com 22
  • 23. Thank you! Alexandre Porfírio http://alexandreporfirio.com http://www.alexandreporfirio.com 23