testing drupal site performance across browsers, geographies and networks
DESCRIPTION
TRANSCRIPT
Testing Drupal Site Performance Across Browsers, Geographies and Networks
Bob BuffoneCTO and Co-founderYottaa, Inc.
Jess IandiorioSr. Director, Cloud Product MarketingAcquia
Acquia Network Support
One singular support service
Answers from 60+ experts
For both Drupal and Infrastructure issues
Acquia Network Knowledgebase
Help & How to Articles
300+ hours of Drupal training videos
And many more resources
Acquia Network Tools & Services
Integrated cloud tools that enhance and extend
your site
Yottaa Inc. http://www.yottaa.com
Measuring your website in different ways!!!
June 13th, 2012
66
Agenda
• The Web… Its complicated• Things that make a website slow• Human factors of web performance• How can you make your website faster?• Tweet
– @rockstarapps– @yottaa
WHY MEASURE IT?
© 2011 Yottaa Inc. All Rights Reserved. 7
In between your visitors and you
8
100+ factors…
websitetest.com
9
http://content.foxsearchlight.com/inside
10
Variability in Locations
11
Variability in Connectivity
12
Connectivity makes a big difference. Think about your experience on your phone compared to your office.
Variability in Browser
13
Browser differences can create surprising differences • Connection Management • JavaScript Engines• Rendering Speed
THINGS THAT MAKE YOUR WEBSITE SLOW
© 2011 Yottaa Inc. All Rights Reserved. 14
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
15
Content Breakdown
16
http://www.websitetest.com/ui/samples/4fd7e310cacea0731000019c#visualizations
Large 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
17
Large assets take longer to download
18
Large assets take longer to download
19
776KB
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
20
Large assets take longer to download
21
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.
22
Marketing Loves Social
23
Social adds LOTS of resources -> 86 JavaScript, images and CSS.
Other things you can do
• Redirect from www to non-www using client-side– Use a 301 redirection instead of 302
• 404s – usually take longer• 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
24
HUMAN FACTORS
© 2011 Yottaa Inc. All Rights Reserved. 25
Human Factors
• Desire for Social • Desire to increase functionality• Lack of understanding about the impact of performance
on the business• Lack of understanding about what makes a website slow
or fast• Lack of the ability to determine if there is a problem• Lack of time to test and fix issues
26
Questions• For more information visit: http://www.acquia.com
• Contact us: [email protected] or 888.9.ACQUIA
• Follow us: @acquia
• Comments welcome:• [email protected]
Today’s webinar recording will be posted to:http://acquia.com/resources/recorded_webinars