SlideShare uma empresa Scribd logo
1 de 14
An Experts Guide
            to making a website slow!!!
                                     October 13th, 2011

                         Presented at O’Reilly’s Web 2.0 Expo in NYC
                                 Bob Buffone, CTO - Yottaa



Yottaa Inc.
2 Canal Park 5th Floor
Cambridge MA 02141
http://www.yottaa.com
Agenda
• The Web… Its complicated
• Things that make a website slow
• How can you make your website faster?




                                          2
THE WEB… IT’S
COMPLICATED



                © 2011 Yottaa Inc. All Rights Reserved.   3
In between your visitors and you
 Data     Major ISPs   CDNs      Geography       Last Mile   Browsers   Users
centers




                       Performance uncertainty




                                                                           4
THINGS THAT MAKE YOUR
WEBSITE SLOW



                  © 2011 Yottaa Inc. All Rights Reserved.   5
Lots of Requests
• Product owners want rich websites
  – Rich in User Experience
  – Rich in Visual Presentation
• Achieving richness requires more
  resources to be downloaded to the client
  – CSS
  – HTML
  – JavaScript
  – Images
                                             6
Fat Resources
• Many of the resources that you need to
  load can be made fatter than required
  – HTML, CSS, JavaScript – Add lots of
    comments and white space
  – Images
    • Use images that are larger than displayed on the
      webpage
    • Always use the highest quality settings
• Turn off gzip compression on your server
                                                         7
Bad Servers
• There are many things that can make your
  servers slow
  – Poorly written code
  – Bad database design
  – Sharing a server with others
  – Old Servers
  – Not enough memory
  – Slow hard drives

                                         8
Randomness
• This is one of the hard things to add your
  site to make it slow.
  – Some of your users will experience a slow
    website
• It only takes one resource to slow down
  your website.



                                                9
Do not use caching
• The web allows you to specify which
  resources the browser will cache on the
  visitor’s machine
• Not specifying cache control correctly
  means the browser will need to load
  resources for every page and



                                            10
3rd Party Plugins
• Bloggers love to make their websites slow
  using plugins.
  – Twitter, Facebook, Google Plus, LinkedIn
  – Photo plugins…
• Not utilizing asynchronous loading of 3rd
  party resources.



                                               11
Other things you can do
• Redirect from www to non-www using client-side
    – Use a 302 redirection instead of 301
•   Add requests to resources that do not exist (404)
•   Run JavaScript code while your page is loading.
•   Only look at how fast your site is from your desktop
•   Think your website is fast enough
•   Do not test your websites performance
•   Think your developers would never do any of these
    things


                                                           12
HOW CAN YOU MAKE YOUR
WEBSITE FASTER?



                 © 2011 Yottaa Inc. All Rights Reserved. 13
Yottaa
THANK YOU FOR YOUR TIME

Bob (Buffone)
Twitter: @Rockstarapps
CTO/Co-founder

www.yottaa.com
Twitter: @Yottaa

Come and check us out in the Expo Booths!!!
                                              14

Mais conteúdo relacionado

Mais procurados

Responsive Design
Responsive DesignResponsive Design
Responsive Design
Anna Bloom
 
Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl
Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirlResponsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl
Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl
Meet Magento Spain
 
8. beta pond peter_elgar
8. beta pond  peter_elgar8. beta pond  peter_elgar
8. beta pond peter_elgar
FOMS011
 
The Malvern Red & Black Society: A WordPress Success Story
The Malvern Red & Black Society: A WordPress Success StoryThe Malvern Red & Black Society: A WordPress Success Story
The Malvern Red & Black Society: A WordPress Success Story
Shanta Nathwani
 
Responsive Web Design for Foodies
Responsive Web Design for FoodiesResponsive Web Design for Foodies
Responsive Web Design for Foodies
David Ip
 
CakePHP at a Massive Scale on a Budget
CakePHP at a Massive Scale on a BudgetCakePHP at a Massive Scale on a Budget
CakePHP at a Massive Scale on a Budget
andygale
 

Mais procurados (20)

Week01 jan19
Week01 jan19Week01 jan19
Week01 jan19
 
Responsive Design
Responsive DesignResponsive Design
Responsive Design
 
Facebook Development for Beginners
Facebook Development for BeginnersFacebook Development for Beginners
Facebook Development for Beginners
 
Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl
Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirlResponsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl
Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl
 
How to Use WordPress & Video
How to Use WordPress & VideoHow to Use WordPress & Video
How to Use WordPress & Video
 
The Highs & Lows of Jetpack
The Highs & Lows of JetpackThe Highs & Lows of Jetpack
The Highs & Lows of Jetpack
 
8. beta pond peter_elgar
8. beta pond  peter_elgar8. beta pond  peter_elgar
8. beta pond peter_elgar
 
DesignTab Final Handover
DesignTab Final HandoverDesignTab Final Handover
DesignTab Final Handover
 
Joomla 101!
Joomla 101!Joomla 101!
Joomla 101!
 
The Malvern Red & Black Society: A WordPress Success Story
The Malvern Red & Black Society: A WordPress Success StoryThe Malvern Red & Black Society: A WordPress Success Story
The Malvern Red & Black Society: A WordPress Success Story
 
Top Drupal modules for beginners
Top Drupal modules for beginnersTop Drupal modules for beginners
Top Drupal modules for beginners
 
How to make WordPress your friend
How to make WordPress your friendHow to make WordPress your friend
How to make WordPress your friend
 
WordCamp Birmingham 2015 - Theme building workshop
WordCamp Birmingham 2015 - Theme building workshopWordCamp Birmingham 2015 - Theme building workshop
WordCamp Birmingham 2015 - Theme building workshop
 
Responsive Web Design for Foodies
Responsive Web Design for FoodiesResponsive Web Design for Foodies
Responsive Web Design for Foodies
 
Solving problems one Plone package at a time
Solving problems one Plone package at a timeSolving problems one Plone package at a time
Solving problems one Plone package at a time
 
Developer's meetup wordpress presentation
Developer's meetup wordpress presentationDeveloper's meetup wordpress presentation
Developer's meetup wordpress presentation
 
CakePHP at a Massive Scale on a Budget
CakePHP at a Massive Scale on a BudgetCakePHP at a Massive Scale on a Budget
CakePHP at a Massive Scale on a Budget
 
Building a website based on Joomla
Building a website based on JoomlaBuilding a website based on Joomla
Building a website based on Joomla
 
WordPress vs Joomla vs Drupal (Infographic)
WordPress vs Joomla vs Drupal (Infographic)WordPress vs Joomla vs Drupal (Infographic)
WordPress vs Joomla vs Drupal (Infographic)
 
WordCamp Kent 2019 - WP 101: WordPress Basics
WordCamp Kent 2019 - WP 101: WordPress BasicsWordCamp Kent 2019 - WP 101: WordPress Basics
WordCamp Kent 2019 - WP 101: WordPress Basics
 

Semelhante a Anti design patterns - an experts guide to making a slow website - yottaa site speed optimizer launch week at web 2 0 expo

Testing Drupal Site Performance Across Browsers, Geographies and Networks
Testing Drupal Site Performance Across Browsers, Geographies and NetworksTesting Drupal Site Performance Across Browsers, Geographies and Networks
Testing Drupal Site Performance Across Browsers, Geographies and Networks
Acquia
 
eDevelopment.ppt
eDevelopment.ppteDevelopment.ppt
eDevelopment.ppt
BijayKc16
 
My site is slow
My site is slowMy site is slow
My site is slow
hernanibf
 
WebsitePerformance
WebsitePerformanceWebsitePerformance
WebsitePerformance
Vivek Jain
 
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
Ezra Gildesgame
 

Semelhante a Anti design patterns - an experts guide to making a slow website - yottaa site speed optimizer launch week at web 2 0 expo (20)

Testing Drupal Site Performance Across Browsers, Geographies and Networks
Testing Drupal Site Performance Across Browsers, Geographies and NetworksTesting Drupal Site Performance Across Browsers, Geographies and Networks
Testing Drupal Site Performance Across Browsers, Geographies and Networks
 
Php ey final
Php ey finalPhp ey final
Php ey final
 
27.1.2014, Tampere. Perinteinen mobiilimaailma murroksessa. Petri Niemi: Sing...
27.1.2014, Tampere. Perinteinen mobiilimaailma murroksessa. Petri Niemi: Sing...27.1.2014, Tampere. Perinteinen mobiilimaailma murroksessa. Petri Niemi: Sing...
27.1.2014, Tampere. Perinteinen mobiilimaailma murroksessa. Petri Niemi: Sing...
 
How Not to Be Conned by Your Drupal Vendor!
How Not to Be Conned by Your Drupal Vendor!How Not to Be Conned by Your Drupal Vendor!
How Not to Be Conned by Your Drupal Vendor!
 
Front End page speed performance improvements for Drupal
Front End page speed performance improvements for DrupalFront End page speed performance improvements for Drupal
Front End page speed performance improvements for Drupal
 
BD Conf: Visit speed - Page speed is only the beginning
BD Conf: Visit speed - Page speed is only the beginningBD Conf: Visit speed - Page speed is only the beginning
BD Conf: Visit speed - Page speed is only the beginning
 
Front End page speed performance improvements for Drupal
Front End page speed performance improvements for DrupalFront End page speed performance improvements for Drupal
Front End page speed performance improvements for Drupal
 
eDevelopment.ppt
eDevelopment.ppteDevelopment.ppt
eDevelopment.ppt
 
My site is slow
My site is slowMy site is slow
My site is slow
 
WebsitePerformance
WebsitePerformanceWebsitePerformance
WebsitePerformance
 
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
 
Squeeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla WebsiteSqueeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla Website
 
Hinting at a better web
Hinting at a better webHinting at a better web
Hinting at a better web
 
Cdn-Summit-2012-mocospace-and-yottaa
Cdn-Summit-2012-mocospace-and-yottaaCdn-Summit-2012-mocospace-and-yottaa
Cdn-Summit-2012-mocospace-and-yottaa
 
How-to Monitor & Identify Website Issues
How-to Monitor & Identify Website IssuesHow-to Monitor & Identify Website Issues
How-to Monitor & Identify Website Issues
 
Do This, Don't Do That: A Primer on Sitecore Development
Do This, Don't Do That: A Primer on Sitecore DevelopmentDo This, Don't Do That: A Primer on Sitecore Development
Do This, Don't Do That: A Primer on Sitecore Development
 
SPDY
SPDYSPDY
SPDY
 
To SPA or not to SPA
To SPA or not to SPATo SPA or not to SPA
To SPA or not to SPA
 
Web design
Web designWeb design
Web design
 
webdesign.ppt
webdesign.pptwebdesign.ppt
webdesign.ppt
 

Mais de Yottaa

Monetizing Mobile: How To Optimize Mobile Engagement and Conversions
Monetizing Mobile: How To Optimize Mobile Engagement and ConversionsMonetizing Mobile: How To Optimize Mobile Engagement and Conversions
Monetizing Mobile: How To Optimize Mobile Engagement and Conversions
Yottaa
 
Beyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
Beyond CDNs: How to Harness the Next Phase of Innovation in Web PerformanceBeyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
Beyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
Yottaa
 
Yottaa State of Web Performance Optimization Group Webinar
Yottaa State of Web Performance Optimization Group WebinarYottaa State of Web Performance Optimization Group Webinar
Yottaa State of Web Performance Optimization Group Webinar
Yottaa
 
Image-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion MaximizationImage-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion Maximization
Yottaa
 
Best practices to optimize commerce site performance [webinar slides]
Best practices to optimize commerce site performance [webinar slides]Best practices to optimize commerce site performance [webinar slides]
Best practices to optimize commerce site performance [webinar slides]
Yottaa
 
Managing a Website Performance Optimization (WPO) Project
Managing a Website Performance Optimization (WPO) ProjectManaging a Website Performance Optimization (WPO) Project
Managing a Website Performance Optimization (WPO) Project
Yottaa
 
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
Yottaa
 
Yottaa site speed optimizer presentation at mass innovation nights part of fu...
Yottaa site speed optimizer presentation at mass innovation nights part of fu...Yottaa site speed optimizer presentation at mass innovation nights part of fu...
Yottaa site speed optimizer presentation at mass innovation nights part of fu...
Yottaa
 
Yottaa website-performance-services-overview-hostingcon-2011-
Yottaa website-performance-services-overview-hostingcon-2011-Yottaa website-performance-services-overview-hostingcon-2011-
Yottaa website-performance-services-overview-hostingcon-2011-
Yottaa
 

Mais de Yottaa (17)

2016: The Year to Align Marketing & IT Departments
2016: The Year to Align Marketing & IT Departments2016: The Year to Align Marketing & IT Departments
2016: The Year to Align Marketing & IT Departments
 
Optimizing Website Performance in the Age of Mobile & Social
Optimizing Website Performance in the Age of Mobile & Social Optimizing Website Performance in the Age of Mobile & Social
Optimizing Website Performance in the Age of Mobile & Social
 
NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...
NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...
NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...
 
How to Optimize Your Entire Mobile Experience
How to Optimize Your Entire Mobile ExperienceHow to Optimize Your Entire Mobile Experience
How to Optimize Your Entire Mobile Experience
 
Monetizing Mobile: How To Optimize Mobile Engagement and Conversions
Monetizing Mobile: How To Optimize Mobile Engagement and ConversionsMonetizing Mobile: How To Optimize Mobile Engagement and Conversions
Monetizing Mobile: How To Optimize Mobile Engagement and Conversions
 
Beyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
Beyond CDNs: How to Harness the Next Phase of Innovation in Web PerformanceBeyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
Beyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
 
Yottaa State of Web Performance Optimization Group Webinar
Yottaa State of Web Performance Optimization Group WebinarYottaa State of Web Performance Optimization Group Webinar
Yottaa State of Web Performance Optimization Group Webinar
 
Image-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion MaximizationImage-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion Maximization
 
So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...
So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...
So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...
 
Mobile Optimization Tips from Yottaa - MEGMeetup #1
Mobile Optimization Tips from Yottaa - MEGMeetup #1Mobile Optimization Tips from Yottaa - MEGMeetup #1
Mobile Optimization Tips from Yottaa - MEGMeetup #1
 
Best practices to optimize commerce site performance [webinar slides]
Best practices to optimize commerce site performance [webinar slides]Best practices to optimize commerce site performance [webinar slides]
Best practices to optimize commerce site performance [webinar slides]
 
Managing a Website Performance Optimization (WPO) Project
Managing a Website Performance Optimization (WPO) ProjectManaging a Website Performance Optimization (WPO) Project
Managing a Website Performance Optimization (WPO) Project
 
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
 
Your customer your asset seminar ecommerce and website speed yottaa
Your customer your asset seminar ecommerce and website speed   yottaaYour customer your asset seminar ecommerce and website speed   yottaa
Your customer your asset seminar ecommerce and website speed yottaa
 
Yottaa site speed optimizer presentation at mass innovation nights part of fu...
Yottaa site speed optimizer presentation at mass innovation nights part of fu...Yottaa site speed optimizer presentation at mass innovation nights part of fu...
Yottaa site speed optimizer presentation at mass innovation nights part of fu...
 
Yottaa website-performance-services-overview-hostingcon-2011-
Yottaa website-performance-services-overview-hostingcon-2011-Yottaa website-performance-services-overview-hostingcon-2011-
Yottaa website-performance-services-overview-hostingcon-2011-
 
Mongodb beijingconf yottaa_3.3
Mongodb beijingconf yottaa_3.3Mongodb beijingconf yottaa_3.3
Mongodb beijingconf yottaa_3.3
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+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...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

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...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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
 
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)
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
+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...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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
 
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...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Anti design patterns - an experts guide to making a slow website - yottaa site speed optimizer launch week at web 2 0 expo

  • 1. An Experts Guide to making a website slow!!! October 13th, 2011 Presented at O’Reilly’s Web 2.0 Expo in NYC Bob Buffone, CTO - Yottaa Yottaa Inc. 2 Canal Park 5th Floor Cambridge MA 02141 http://www.yottaa.com
  • 2. Agenda • The Web… Its complicated • Things that make a website slow • How can you make your website faster? 2
  • 3. THE WEB… IT’S COMPLICATED © 2011 Yottaa Inc. All Rights Reserved. 3
  • 4. In between your visitors and you Data Major ISPs CDNs Geography Last Mile Browsers Users centers Performance uncertainty 4
  • 5. THINGS THAT MAKE YOUR WEBSITE SLOW © 2011 Yottaa Inc. All Rights Reserved. 5
  • 6. Lots of Requests • Product owners want rich websites – Rich in User Experience – Rich in Visual Presentation • Achieving richness requires more resources to be downloaded to the client – CSS – HTML – JavaScript – Images 6
  • 7. Fat Resources • Many of the resources that you need to load can be made fatter than required – HTML, CSS, JavaScript – Add lots of comments and white space – Images • Use images that are larger than displayed on the webpage • Always use the highest quality settings • Turn off gzip compression on your server 7
  • 8. Bad Servers • There are many things that can make your servers slow – Poorly written code – Bad database design – Sharing a server with others – Old Servers – Not enough memory – Slow hard drives 8
  • 9. Randomness • This is one of the hard things to add your site to make it slow. – Some of your users will experience a slow website • It only takes one resource to slow down your website. 9
  • 10. Do not use caching • The web allows you to specify which resources the browser will cache on the visitor’s machine • Not specifying cache control correctly means the browser will need to load resources for every page and 10
  • 11. 3rd Party Plugins • Bloggers love to make their websites slow using plugins. – Twitter, Facebook, Google Plus, LinkedIn – Photo plugins… • Not utilizing asynchronous loading of 3rd party resources. 11
  • 12. Other things you can do • Redirect from www to non-www using client-side – Use a 302 redirection instead of 301 • Add requests to resources that do not exist (404) • Run JavaScript code while your page is loading. • Only look at how fast your site is from your desktop • Think your website is fast enough • Do not test your websites performance • Think your developers would never do any of these things 12
  • 13. HOW CAN YOU MAKE YOUR WEBSITE FASTER? © 2011 Yottaa Inc. All Rights Reserved. 13
  • 14. Yottaa THANK YOU FOR YOUR TIME Bob (Buffone) Twitter: @Rockstarapps CTO/Co-founder www.yottaa.com Twitter: @Yottaa Come and check us out in the Expo Booths!!! 14