SlideShare a Scribd company logo
1 of 51
Download to read offline
TABLE OF CONTENTS
1 WHY WEB PERFORMANCE MATTERS FOR DESIGNERS
7 WHY DESIGNERS STRUGGLE TO BUILD FAST WEBSITES
11 UNDERSTANDING KEY WEB PERFORMANCE METRICS
15 WHAT CAUSES POOR WEB PERFORMANCE?
24 HOW TO OPTIMIZE YOUR WEBSITE ASSETS
42 HOW TO MONITOR YOUR WEB PERFORMANCE
45 DESIGN WITH PERFORMANCE AS A PRIORITY
Speed is one of the most overlooked
aspects when it comes to websites and
web apps. Today, users expect a
website to load in 2 seconds or less.
In fact, a 1-second delay in page load time equals a
3% drop in revenue per visitor, 7% fewer
conversions, and a 16% decrease in customer
satisfaction. When it comes to web performance,
every millisecond counts.
Why Web Performance
MATTERS FOR DESIGNERS
Chapter 1
1A DESIGNER’S GUIDE TO WEB PERFORMANCE
Speed is the most important
feature. If your application is
slow, people won’t use it.
Fred Wilson, Managing Partner @ Union Square Ventures
“ 2A DESIGNER’S GUIDE TO WEB PERFORMANCE
So, why should designers care? Because 80%-90% of performance occurs
on the front-end of websites, which is where designers operate. Only
10%-20% happens via back-end performance, which falls under the
responsibility of developers and operations. In other words, all of the
content a designer is responsible for creating and building - HTML, CSS,
JavaScript, images, etc. -- accounts for almost all of a page's load time.
-20%
-16%
-12%
-8%
-4%
0%
AVG IMPACT OF 1-SECOND DELAY IN PAGE LOAD TIME
A faster website or web app will produce better business results and a better
user experience. It will significantly increase visitors, conversions, average order
size, and revenue both in the short and long-term. Here are some case studies
and statistics that highlight the importance of web performance.
3A DESIGNER’S GUIDE TO WEB PERFORMANCE
Revenue Conversions Pageviews User Satisfaction
CASE STUDY #1
4A DESIGNER’S GUIDE TO WEB PERFORMANCE
100ms
DECREASE IN PAGE LOAD TIME
1%
DROP IN TOTAL REVENUE
=
Amazon found that a 100ms delay in page load time caused
a 1% drop in total revenue -- that's millions of dollars for
them!
CASE STUDY #2
5A DESIGNER’S GUIDE TO WEB PERFORMANCE
12%
INCREASE IN REVENUE
25%
INCREASE IN PAGEVIEWS
Shopzilla sped up its average page load time from 6
seconds to 1.2 seconds and experienced a 12% increase in
revenue and a 25% increase in pageviews.
+
CASE STUDY #3
6A DESIGNER’S GUIDE TO WEB PERFORMANCE
15.4%
INCREASE IN CONVERSIONS
60million
MORE DOWNLOADS PER YEAR
Mozilla shaved 2.2 seconds off their landing pages,
increasing their download conversions by 15.4%, which will
result in 60 million more Firefox downloads per year.
=
There are several key reasons why
building a fast website or web app has
become so challenging for designers.
First, the creation of content decreases performance.
The more content a webpage has, the worse it will
perform. As Steve Souders, legendary web
performance optimization guru, once said, "The
fastest HTTP request is the one not made."
Why Designers Struggle to
BUILD FAST WEBSITES
Chapter 2
7A DESIGNER’S GUIDE TO WEB PERFORMANCE
The fastest HTTP request is the
one not made.
Steve Souders, Head Performance Engineer @ Google
“ 8A DESIGNER’S GUIDE TO WEB PERFORMANCE
So, the best way to optimize web performance, in theory, is to have no
content at all. But, users now expect websites to contain more content,
media, and interactivity than ever before. Striking a balance of fast
performance and content-rich sites is one of the biggest challenges to
running a great website today.
Second, many designers are unaware of the
performance consequences that their assets
create.
They lack the visibility and insight into their web
performance issues - for example, knowing that a
specific JavaScript file is slowing down their page
load time by 3 seconds. They don't have or use the
tools necessary to assess their web performance.
Additionally, many designers do not know what
steps they must take to fix these performance
problems -- such as moving that specific piece of
JavaScript to the bottom of their HTML code to
prevent it from blocking the rest of the page
downloading.
A DESIGNER’S GUIDE TO WEB PERFORMANCE 9
Lastly, without the help of a third-party
service, the methods and techniques used to
manually optimize a website are very time
consuming.
With tight deadlines and limited cycles, many
designers do not take the time necessary or make it
a priority to build a high performance website.
Maintaining fast and consistent performance is a
highly complex and demanding job. As a reference,
Google, who is renowned for their fast performance
and user experience, has a team of over 100
engineers whose sole job is focused on web
performance optimization!
10A DESIGNER’S GUIDE TO WEB PERFORMANCE
There are 3 key metric areas for web
performance: back-end performance,
front-end performance, and content
complexity.
Each key area contains several metrics that will
provide actionable insight to improve the web
performance and page load times of websites.
Understanding Key Web
PERFORMANCE METRICS
Chapter 3
11A DESIGNER’S GUIDE TO WEB PERFORMANCE
BACK-END PERFORMANCE METRICS
12A DESIGNER’S GUIDE TO WEB PERFORMANCE
Back-end performance refers to the connection and delivery of a webpage's
content. This accounts for about 10%-20% of web performance and is not visible
to an end user.
DNS Resolution Time
Time elapsed for a DNS provider to execute
its service - to process a visitor's URL
request and return the matching IP address.
Time to Connect
Time elapsed from initial request to
when the connection between the
visitor's browser and an origin server
is established.
Waiting Time
Time elapsed from establishing a
connection to delivering the first
byte of a webpage.
Receiving Time
Time elapsed from downloading
the first byte to the last byte of a
webpage.
Time to Last Byte
Time elapsed when every byte
of a website has made it to the
visitor's browser.
Time to First Byte
Time elapsed for the first byte of
a website to make it to the
visitor's browser.
FRONT-END PERFORMANCE METRICS
13A DESIGNER’S GUIDE TO WEB PERFORMANCE
Front-end performance refers to how quickly a visitor's browser executes and
renders a webpage's content. Front-end metrics are measured from the moment
a request for the site is made -- when the visitor clicks a link or enters a URL.
Time to Title
Time elapsed when a user's browser
downloads the first byte of your website and
the webpage's title displays in the browser.
Time to Start Render
Time elapsed when the first visible
element appears on the blank page.
Time to Display
Time elapsed when all visual
elements of the page are in place.
Time to Interact
Time elapsed when a user has
gained control of a webpage and
can interact with content.
CONTENT COMPLEXITY METRICS
14A DESIGNER’S GUIDE TO WEB PERFORMANCE
Content complexity refers to how complex a website’s composition is in terms of
the number and the size of requests, assets, and files. The more requests and the
heavier a website’s assets are, the more complex the website is, and vice versa.
Total # of Assets
Requests
Domains
HTML
JavaScript
CSS
Images
Media (Video, Audio, etc.)
Other
Total Size (KB)
Page Size (Sum of All Assets’ Sizes)
HTML
JavaScript
CSS
Images
Media (Video, Audio, etc.)
Other
What are the main culprits of poor
performance? What components on the
front-end cause the biggest problems?
The key area we are focusing on improving
performance of in this eBook is a website's content
complexity. Designers should mainly be concerned
with optimizing assets such as HTML, CSS,
JavaScript, and image files.
What Causes Poor
WEB PERFORMANCE?
Chapter 4
15A DESIGNER’S GUIDE TO WEB PERFORMANCE
If your site is 15MB, it’s not
HTML5 – it’s stupid.
Christian Heilmann, Principal Developer Evangelist @ Mozilla
“ 16A DESIGNER’S GUIDE TO WEB PERFORMANCE
As we previously noted, a high number of files or assets is the
biggest indicator of poor performance. Reducing the number of
round trips and requests the browser needs to take to download
a webpage will make the biggest impact on improving web
performance.
Picture yourself going to get a bunch of
mail from your mailbox.
In this example, you are like the browser,
having to make trips to retrieve all of the
assets needed to download your webpage.
Would it make sense to make a separate trip
to get every single piece of mail in your
mailbox? No. But that's how a browser is
programmed to behave when it downloads
assets of a webpage -- it makes a separate trip
for every individual file. Granted, the browser
does this very quickly -- often, in milliseconds.
But the more individual files there are, the
longer it will take the browser to process all of
those requests.
17A DESIGNER’S GUIDE TO WEB PERFORMANCE
# OF ASSETS BREAKDOWN
18A DESIGNER’S GUIDE TO WEB PERFORMANCE
59AVG # OF ASSETS
AVG # OF IMAGES
AVG # OF JAVASCRIPT FILES
AVG # OF CSS FILES
AVG # OF OTHER FILES (VIDEO, AUDIO, ETC.)
33
11
5
10
When optimizing for performance, designers should reduce the number of files
above all else as the number one priority. The key method to reduce the total
number of assets on a webpage is combining files.
-
5
10
15
20
25
1-25 26-50 51-100 100-200 201+
Number of Assets vs. Page Load Time (sec)
PageLoadTime(sec)
Large page size is another key indicator of poor performance. Bigger files take
more time for browsers to download. Let's return to the mailbox analogy we just
used. It's easy to carry a few envelopes of mail. But what if there were several
heavy boxes and packages? All of a sudden, you won't be able to carry your mail
as quickly or easily. The same holds true for browsers. If you have massive files
on your website, browsers will have a tougher time downloading and delivering
them to end users. So, designers need to compress and reduce file size as much
as possible to achieve the fastest page load time possible.
19A DESIGNER’S GUIDE TO WEB PERFORMANCE
1.2MB VS.
121KB
WINNER
ASSET SIZE BREAKDOWN
20A DESIGNER’S GUIDE TO WEB PERFORMANCE
1.1MB
AVG PAGE SIZE
AVG SIZE OF TOTAL IMAGES
AVG SIZE OF TOTAL JAVASCRIPT FILES
AVG SIZE OF TOTAL CSS FILES
AVG SIZE OF TOTAL OTHER FILES
653 KB
173 KB
34 KB
260 KB
0
5
10
15
20
25
30
<250 KB 250-500 KB 500-750 KB 750-1,000 KB 1,000 - 2,000
KB
2,000 - 4,000
KB
4,000 - 8,000
KB
8,000+ KB
PageLoadTime(sec)
Page Size (KB) vs Page Load Time (sec)
JAVASCRIPT BREAKDOWN
21A DESIGNER’S GUIDE TO WEB PERFORMANCE
JavaScript is generally the worst offender of poor performance, especially as
it relates to the number of JavaScript files.
0
2
4
6
8
10
12
0 1 2 3 4 5 6 7 8 9 10 11+
PageLoadTime(sec)
# of Javascripts
# of Javascripts vs Page Load Time (sec)
IMAGES BREAKDOWN
A DESIGNER’S GUIDE TO WEB PERFORMANCE
A high number of images and large image sizes are also top culprits when it
comes to slowing down page loads.
0
4
8
12
16
20
0 - 50KB 50 - 100 KB 100 - 200 KB 200 - 500 KB 500 - 1,000
KB
1,000 - 2,000
KB
2,000 - 5,000
KB
>5,000 KB
PageLoadTime(sec)
Image Size (MB)
Image Size vs. Page Load Time (sec)
22
CSS BREAKDOWN
23A DESIGNER’S GUIDE TO WEB PERFORMANCE
CSS can be a contributing factor of poor performance, especially in terms of
its size. Since CSS paints the visual display of a webpage, larger CSS files
have more display work needed to be executed by the browser.
-
2
4
6
8
10
12
0 1 - 5 KB 5 - 25 KB 25 - 100 KB 100+ KB
PageLoadTime(sec)
CSS Size (KB)
CSS Size vs. Page Load Time (sec)
There are many key methods and tactics
you can use to optimize your web
performance.
Let’s take a deep dive into the best practices to
optimize the individual assets of HTML, CSS,
JavaScript, and images.
How to Optimize Your
WEBSITE ASSETS
Chapter 5
24A DESIGNER’S GUIDE TO WEB PERFORMANCE
The best strategy is to consider
speed a feature just like one of
the other features on your site.
Stoyan Stefanov, Engineer @ Facebook & Author
“ 25A DESIGNER’S GUIDE TO WEB PERFORMANCE
Remember, as we discussed in the previous chapter, there are
two key factors that will help improve our performance: ( 1 )
Reducing the total number of requests and ( 2 ) reducing the
overall asset size. These will be the main actions we focus on for
optimizing our web performance as designers.
OPTIMIZE ORDER OF EXECUTION
26A DESIGNER’S GUIDE TO WEB PERFORMANCE
Always load your external CSS files first, and then your external and inline
JavaScript second in your <head>. JavaScript files are generally larger than CSS
files and take a longer time to download, which delays the download of other
assets.
<head>
<link rel="stylesheet" type="text/css" href=”stylesheet1.css" />
<link rel="stylesheet" type="text/css" href="stylesheet2.css" />
<link rel="stylesheet" type="text/css" href="stylesheet3.css" />
<link rel="alternate" type="application/rss+xml" title="Say hello" href="front.xml" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<script type="text/javascript">
document.write("Hello world!");
</script>
</head>
COMBINE CSS FILES
27A DESIGNER’S GUIDE TO WEB PERFORMANCE
Combining, or “concatenating,” CSS files together decreases the number of
requests and round trips the browser has to make, which subsequently decreases
the page load time and reduces latency.
<link rel="stylesheet" type=“text/css” href=”stylesheet1.css">
<link rel="stylesheet" type=“text/css” href=”stylesheet2.css">
<link rel=“stylesheet” type=“text/css” href=“stylesheet3.css”>
<link rel=“stylesheet” type=“text/css” href=“combined.css”>
28A DESIGNER’S GUIDE TO WEB PERFORMANCE
Just like CSS, combining or “concatenating” JavaScript files together decreases
the number of requests and round trips the browser has to make, which
subsequently decreases the page load time.
<script type="text/javascript" src=“javascript1.js"></script>
<script type="text/javascript" src=“javascript2.js"></script>
<script type="text/javascript" src=“javascript3.js"></script>
<script type="text/javascript" src=“combined.js"></script>
COMBINE JAVASCRIPT FILES
COMBINE IMAGES USING CSS SPRITES
29A DESIGNER’S GUIDE TO WEB PERFORMANCE
Use CSS sprites to combine many image files into one. This significantly reduces
the number of image requests and overall total page size. This technique also
allows for faster parallelization of asset downloads.
Here are some great free CSS
sprite creator tools:
•  SpriteMe
•  Compass
•  SpritePad
•  Spritebox
MINIFY HTML
30A DESIGNER’S GUIDE TO WEB PERFORMANCE
Compressing your HTML file to remove comments, whitespace between tags, and
unnecessary closing tags (such as </li>) can reduce the overall HTML file size and
speed up the parsing and execution of a webpage.
Here are some great tools to automatically minify your HTML files:
•  HTML Compressor
•  Google HTML Compressor and Minifier
•  TextFixer
MINIFY JAVASCRIPT
31A DESIGNER’S GUIDE TO WEB PERFORMANCE
Compressing, or “minifying,” your JavaScript files includes eliminating
unnecessary line breaks, extra spaces, and indentation, which reduces the overall
size of the JavaScript files and increase page load time.
Here are some great tools to automatically minify your JavaScript
files:
•  JavaScript Compressor
•  JSCompress
•  Online YUI Compressor
MINIFY CSS
32A DESIGNER’S GUIDE TO WEB PERFORMANCE
Compressing, or “minifying,” your CSS files includes removing all whitespace and
semicolons for the last property of a CSS declaration, which reduces the overall
size of the CSS files and increases page load times.
Here are some great tools to automatically minify your CSS files:
•  CSS Compressor
•  CSS Drive
•  Minify CSS
•  Online YUI Compressor
COMPRESS IMAGES
33A DESIGNER’S GUIDE TO WEB PERFORMANCE
Compress the file size of your images. You can manually tune the save settings
for your images in design software such as Photoshop, Illustrator, etc. Or, you can
use free online tools that automatically compress your images.
Here are some great tools to automatically compress your images:
•  Yahoo! Smush.it
•  JPEG-Optimizer
•  Trimage
AVOID CSS @import
34A DESIGNER’S GUIDE TO WEB PERFORMANCE
Using CSS @import prevents the browser from being able to download the CSS
files in parallel, which increases the number of requests the browser needs to
make. Always use the traditional <link> tag for CSS to ensure parallelized
downloads.
<link rel="stylesheet" href=”stylesheet1.css">
<link rel="stylesheet" href=”stylesheet2.css">
@import url(“stylesheet2.css”)
AVOID BAD REQUESTS
35A DESIGNER’S GUIDE TO WEB PERFORMANCE
Be sure to remove any broken links, missing images, or other asset requests that
result in 404 errors. Failing to do so creates a (higher) number of requests for non-
existent assets that slows down the loading of the page.
USE DATA URIs
36A DESIGNER’S GUIDE TO WEB PERFORMANCE
For smaller images, data URIs are a great technique to cut down image requests
by “inlining images” into HTML or CSS files. The image is immediately available
when its host document is downloaded. Data URIs use Base64 encoding and
follow this basic format:
data:[<mime type>][;charset=<charset>][;base64],<encoded data>
LOAD 3RD-PARTY ASSETS ASYNCHRONOUSLY
37A DESIGNER’S GUIDE TO WEB PERFORMANCE
Assets that aren’t needed to construct the display of a webpage, most notably
JavaScript files, can be loaded asynchronously so they do not block important
resources from loading. These types of assets are typically social share widgets
(Facebook, Twitter, etc.) and analytics tracking (Google Analytics, etc.)
<script>
var node = document.createElement('script');
node.type = 'text/javascript';
node.async = true;
node.src = 'example.js';
// Now insert the node into the DOM, perhaps using insertBefore()
</script>
SPECIFY IMAGE DIMENSIONS
38A DESIGNER’S GUIDE TO WEB PERFORMANCE
When possible, you should specify image dimensions in the HTML or CSS and
serve a properly resized image that fits such dimensions. This will reduce the
actual image file size and also prevent reflows the browser needs to make when
loading the images.
<img src=“myimage.jpg” height=“225” width=“150”>
USE EFFICIENT CSS SELECTORS
39A DESIGNER’S GUIDE TO WEB PERFORMANCE
You should write your CSS so that it is as efficient as possible. This includes
avoiding a universal key selector (*), using class and ID selectors over tag
selectors, removing redundant qualifiers, and avoiding the use of descendant
selectors. The goal is to always be as specific and individual with your CSS as
possible. For example:
.unordered-list-item {color: blue;}
.ordered-list-item {color: red;}
ul li {color: blue;}
ol li {color: red;}
SPECIFY A CHARACTER SET
40A DESIGNER’S GUIDE TO WEB PERFORMANCE
By specifying a character set in the HTTP response headers of your HTML
document, you allow the browser to begin parsing HTML and executing scripts
immediately.
<meta http-equiv="content-type" content="text/html;charset=utf-8">
PUT CSS IN <HEAD>
41A DESIGNER’S GUIDE TO WEB PERFORMANCE
It’s a best practice to always place your CSS in the <head> section of your HTML
document. Removing inline style blocks and using <link> CSS files in the <head>
section improves the browser render and display load times.
<p style=“font-size: 1.2em; font-weight: bold; font-family: arial, helvetica;”>
<head>
<link rel=“stylesheet” type=“text/css” href=“stylesheet.css”>
</head>
In order to make major performance
improvements, you will need to
continually test and monitor your web
performance.
How to Monitor Your
WEB PERFORMANCE
Chapter 6
42A DESIGNER’S GUIDE TO WEB PERFORMANCE
If you can’t measure it, you can’t
improve it.
Lord Kelvin, 19th Century Physicist and Engineer
“ 43A DESIGNER’S GUIDE TO WEB PERFORMANCE
The first thing you should do is test your website to establish a
baseline of your current performance. You need to understand
how your website and its assets load and where there are areas
to improve. There are several key factors you should test your
website against: different browsers, locations, and connectivities.
Testing your website only provides a single snapshot in time, however. To capture
a holistic view, you'll need to monitor and track your performance over time. This
way, you can understand your performance trends -- how your website performs
across the world, with various browsers, different connectivities, and traffic spikes.
44A DESIGNER’S GUIDE TO WEB PERFORMANCE
Here’s a list of free resources to test and monitor your web
performance:
•  Yottaa Site Monitor
•  Webpagetest.org
•  YSlow
•  Mobitest
•  Websitetest.com
The ultimate goal of this eBook is to
create a fundamental shift in how you
approach design: to design with
performance as a priority.
By looking at web design through the lens of
performance, you’ll be able to build better, faster,
and more scalable websites and web apps.
Design With Performance
AS A PRIORITY
Chapter 7
45A DESIGNER’S GUIDE TO WEB PERFORMANCE
Improve UserExperience
Optimize WebPerformance
_____
Exceptional performance means
being faster than a user expects
us to be.
Alois Reitebauer, Product Manager & Evangelist @ Compuware
“ 46A DESIGNER’S GUIDE TO WEB PERFORMANCE
What is the goal of design? Design should help users achieve tasks as fast
as possible. Therefore, performance should be an integral part of your
design process that drives decisions. Build performance best practices
into your daily design habits. Reframe your mindset so you are constantly
thinking: "Do I really need this image on the webpage at all? How can I
rewrite and condense this CSS file? What's the best way to implement this
design so it loads fast?”
47A DESIGNER’S GUIDE TO WEB PERFORMANCE
WEB PERFORMANCE CHECKLIST
  OPTIMIZE HTML  OPTIMIZE CSS
  OPTIMIZE JAVASCRIPT  OPTIMIZE IMAGES
PERFORMANCE GOALS  LOAD IN 2 SECONDS  INCREASE CONVERSIONS BY 5%
  INCREASE USER SATISFACTION BY
10%
Here are a few ways you can keep
performance at top of the mind in your
design process:
•  Create a performance checklist for
every design or asset you create
•  Build a performance budget for your
website (i.e. our website must load in 2
seconds. If it doesn’t, we must deliver
our content in a way that it does meet
this goal or we must remove some
assets altogether)
•  Conduct a regular review of your
website performance and try to improve
it just by optimizing your assets
FREE GUIDE
9 TIPS FOR BENCHMARKING
YOUR WEB PERFORMANCE
This guide gives you 9 key tips to
ensure you get the most actionable
insights from your benchmarking
program!
DOWNLOAD GUIDE NOW
FREE EBOOK
HOW TO MANAGE A WPO
PROJECT: A STEP-BY-STEP GUIDE
Designed to help web developers
and website owners understand the
entire WPO process, this eBook will
help you to put together your own
action plan to improve performance.
DOWNLOAD EBOOK NOW
* FREE BONUS RESOURCES *
FREE TRIAL
SEE HOW MUCH FASTER YOUR
WEBSITE COULD BE ON YOTTAA
Accelerate your page load times,
prevent website downtime, and
benchmark your web performance
against competitors with a free 7-day
trial of Yottaa Site Optimizer.
FREE 7-DAY TRIAL
OPTIMIZE, PROTECT,
& MONITOR YOUR
WEBSITE
CREATE MY FREE ACCOUNT
Share this eBook with your friends!
Get free 24x7 performance monitoring of your
website from any browser, device, & location!

More Related Content

What's hot

Static Enabler: A Response Enhancer for Dynamic Web Applications
Static Enabler: A Response Enhancer for Dynamic Web ApplicationsStatic Enabler: A Response Enhancer for Dynamic Web Applications
Static Enabler: A Response Enhancer for Dynamic Web ApplicationsOsama M. Khaled
 
Ijaprr vol1-5-24-29mukesh negi
Ijaprr vol1-5-24-29mukesh negiIjaprr vol1-5-24-29mukesh negi
Ijaprr vol1-5-24-29mukesh negiijaprr_editor
 
High Performance Mobile Web
High Performance Mobile WebHigh Performance Mobile Web
High Performance Mobile WebJames D Bloom
 
Metrics, Metrics Everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)Metrics, Metrics Everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)SOASTA
 
High Performance Mobile Web
High Performance Mobile WebHigh Performance Mobile Web
High Performance Mobile WebJames D Bloom
 
Mobile Web Best Practices
Mobile Web Best PracticesMobile Web Best Practices
Mobile Web Best PracticesJames D Bloom
 
Html5 Fit: Get Rid of Love Handles
Html5 Fit:  Get Rid of Love HandlesHtml5 Fit:  Get Rid of Love Handles
Html5 Fit: Get Rid of Love HandlesChris Love
 

What's hot (7)

Static Enabler: A Response Enhancer for Dynamic Web Applications
Static Enabler: A Response Enhancer for Dynamic Web ApplicationsStatic Enabler: A Response Enhancer for Dynamic Web Applications
Static Enabler: A Response Enhancer for Dynamic Web Applications
 
Ijaprr vol1-5-24-29mukesh negi
Ijaprr vol1-5-24-29mukesh negiIjaprr vol1-5-24-29mukesh negi
Ijaprr vol1-5-24-29mukesh negi
 
High Performance Mobile Web
High Performance Mobile WebHigh Performance Mobile Web
High Performance Mobile Web
 
Metrics, Metrics Everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)Metrics, Metrics Everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)
 
High Performance Mobile Web
High Performance Mobile WebHigh Performance Mobile Web
High Performance Mobile Web
 
Mobile Web Best Practices
Mobile Web Best PracticesMobile Web Best Practices
Mobile Web Best Practices
 
Html5 Fit: Get Rid of Love Handles
Html5 Fit:  Get Rid of Love HandlesHtml5 Fit:  Get Rid of Love Handles
Html5 Fit: Get Rid of Love Handles
 

Viewers also liked

Dialnet el equilibrioeconomicoenloscontratosadministrativos-5085250
Dialnet el equilibrioeconomicoenloscontratosadministrativos-5085250Dialnet el equilibrioeconomicoenloscontratosadministrativos-5085250
Dialnet el equilibrioeconomicoenloscontratosadministrativos-5085250johanna293
 
VirtualDJでPCDJっぽいことをやった
VirtualDJでPCDJっぽいことをやったVirtualDJでPCDJっぽいことをやった
VirtualDJでPCDJっぽいことをやったSaya Katafuchi
 
Winners Paradise Presentation
Winners Paradise PresentationWinners Paradise Presentation
Winners Paradise Presentationwinnersparadise
 
ヤンデレのUnityに愛されて眠れない〜Unity3分クッキング〜
ヤンデレのUnityに愛されて眠れない〜Unity3分クッキング〜ヤンデレのUnityに愛されて眠れない〜Unity3分クッキング〜
ヤンデレのUnityに愛されて眠れない〜Unity3分クッキング〜Saya Katafuchi
 
ヤンデレのUnityに愛されて眠れない〜りたーんず〜
ヤンデレのUnityに愛されて眠れない〜りたーんず〜ヤンデレのUnityに愛されて眠れない〜りたーんず〜
ヤンデレのUnityに愛されて眠れない〜りたーんず〜Saya Katafuchi
 

Viewers also liked (7)

Dialnet el equilibrioeconomicoenloscontratosadministrativos-5085250
Dialnet el equilibrioeconomicoenloscontratosadministrativos-5085250Dialnet el equilibrioeconomicoenloscontratosadministrativos-5085250
Dialnet el equilibrioeconomicoenloscontratosadministrativos-5085250
 
VirtualDJでPCDJっぽいことをやった
VirtualDJでPCDJっぽいことをやったVirtualDJでPCDJっぽいことをやった
VirtualDJでPCDJっぽいことをやった
 
Winners Paradise Presentation
Winners Paradise PresentationWinners Paradise Presentation
Winners Paradise Presentation
 
ヤンデレのUnityに愛されて眠れない〜Unity3分クッキング〜
ヤンデレのUnityに愛されて眠れない〜Unity3分クッキング〜ヤンデレのUnityに愛されて眠れない〜Unity3分クッキング〜
ヤンデレのUnityに愛されて眠れない〜Unity3分クッキング〜
 
Symantec Cloud 22 juni 2012
Symantec Cloud   22 juni 2012Symantec Cloud   22 juni 2012
Symantec Cloud 22 juni 2012
 
5th lecture ppp
5th lecture ppp5th lecture ppp
5th lecture ppp
 
ヤンデレのUnityに愛されて眠れない〜りたーんず〜
ヤンデレのUnityに愛されて眠れない〜りたーんず〜ヤンデレのUnityに愛されて眠れない〜りたーんず〜
ヤンデレのUnityに愛されて眠れない〜りたーんず〜
 

Similar to Designers Guide to Web Performance Yotta 2013

Client-side Web Performance Optimization [paper]
Client-side Web Performance Optimization [paper]Client-side Web Performance Optimization [paper]
Client-side Web Performance Optimization [paper]Jakob
 
Improving frontend performance
Improving frontend performanceImproving frontend performance
Improving frontend performanceSagar Desarda
 
17 Web Performance Metrics You Should Care About
17 Web Performance Metrics You Should Care About17 Web Performance Metrics You Should Care About
17 Web Performance Metrics You Should Care AboutEvgeny Tsarkov
 
Distributed Cache-Aware Transactions for Polyglot Persistence
Distributed Cache-Aware Transactions for Polyglot PersistenceDistributed Cache-Aware Transactions for Polyglot Persistence
Distributed Cache-Aware Transactions for Polyglot PersistenceBaqend
 
7 secrets of performance oriented front end development services
7 secrets of performance oriented front end development services7 secrets of performance oriented front end development services
7 secrets of performance oriented front end development servicesKaty Slemon
 
SUGMEA - Sitecore JSS and Performance Optimization - Alex Shyba - Altudo
SUGMEA - Sitecore JSS and Performance Optimization - Alex Shyba - AltudoSUGMEA - Sitecore JSS and Performance Optimization - Alex Shyba - Altudo
SUGMEA - Sitecore JSS and Performance Optimization - Alex Shyba - Altudodharmeshharji
 
GlobalDots - How Website Speed Affects Conversion Rates
GlobalDots - How Website Speed Affects Conversion RatesGlobalDots - How Website Speed Affects Conversion Rates
GlobalDots - How Website Speed Affects Conversion RatesGlobalDots
 
Poslovni Imenik BiH - Lokal d.o.o.
Poslovni Imenik BiH - Lokal d.o.o.Poslovni Imenik BiH - Lokal d.o.o.
Poslovni Imenik BiH - Lokal d.o.o.Luxury Villas Zilic
 
Speed in digital marketing en
Speed in digital marketing enSpeed in digital marketing en
Speed in digital marketing enThom. Poole
 
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]Tammy Everts
 
Site Speed Fundamentals
Site Speed FundamentalsSite Speed Fundamentals
Site Speed FundamentalsMartin Breest
 
Web performance introduction boston web performance meetup
Web performance introduction   boston web performance meetupWeb performance introduction   boston web performance meetup
Web performance introduction boston web performance meetupJonathan Klein
 
Leveraging Website Speed to Increase Sales
Leveraging Website Speed to Increase SalesLeveraging Website Speed to Increase Sales
Leveraging Website Speed to Increase SalesVendasta Technologies
 
Metrics, Metrics Everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)Metrics, Metrics Everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)SOASTA
 
Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)Tammy Everts
 
Ahead of the Curve: How 23andMe Improved UX with Performance Edge
Ahead of the Curve: How 23andMe Improved UX with Performance EdgeAhead of the Curve: How 23andMe Improved UX with Performance Edge
Ahead of the Curve: How 23andMe Improved UX with Performance EdgeOptimizely
 
Boosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvementsBoosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvementsAlyss Noland
 
Web Performance Optimzation
Web Performance OptimzationWeb Performance Optimzation
Web Performance OptimzationAlois Reitbauer
 

Similar to Designers Guide to Web Performance Yotta 2013 (20)

Client-side Web Performance Optimization [paper]
Client-side Web Performance Optimization [paper]Client-side Web Performance Optimization [paper]
Client-side Web Performance Optimization [paper]
 
Improving frontend performance
Improving frontend performanceImproving frontend performance
Improving frontend performance
 
17 Web Performance Metrics You Should Care About
17 Web Performance Metrics You Should Care About17 Web Performance Metrics You Should Care About
17 Web Performance Metrics You Should Care About
 
Distributed Cache-Aware Transactions for Polyglot Persistence
Distributed Cache-Aware Transactions for Polyglot PersistenceDistributed Cache-Aware Transactions for Polyglot Persistence
Distributed Cache-Aware Transactions for Polyglot Persistence
 
7 secrets of performance oriented front end development services
7 secrets of performance oriented front end development services7 secrets of performance oriented front end development services
7 secrets of performance oriented front end development services
 
SUGMEA - Sitecore JSS and Performance Optimization - Alex Shyba - Altudo
SUGMEA - Sitecore JSS and Performance Optimization - Alex Shyba - AltudoSUGMEA - Sitecore JSS and Performance Optimization - Alex Shyba - Altudo
SUGMEA - Sitecore JSS and Performance Optimization - Alex Shyba - Altudo
 
GlobalDots - How Website Speed Affects Conversion Rates
GlobalDots - How Website Speed Affects Conversion RatesGlobalDots - How Website Speed Affects Conversion Rates
GlobalDots - How Website Speed Affects Conversion Rates
 
Poslovni Imenik BiH - Lokal d.o.o.
Poslovni Imenik BiH - Lokal d.o.o.Poslovni Imenik BiH - Lokal d.o.o.
Poslovni Imenik BiH - Lokal d.o.o.
 
Speed in digital marketing en
Speed in digital marketing enSpeed in digital marketing en
Speed in digital marketing en
 
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
 
Core Web Vitals in Website Design.pdf
Core Web Vitals in Website Design.pdfCore Web Vitals in Website Design.pdf
Core Web Vitals in Website Design.pdf
 
Site Speed Fundamentals
Site Speed FundamentalsSite Speed Fundamentals
Site Speed Fundamentals
 
Magento Optimization Whitepaper
Magento Optimization WhitepaperMagento Optimization Whitepaper
Magento Optimization Whitepaper
 
Web performance introduction boston web performance meetup
Web performance introduction   boston web performance meetupWeb performance introduction   boston web performance meetup
Web performance introduction boston web performance meetup
 
Leveraging Website Speed to Increase Sales
Leveraging Website Speed to Increase SalesLeveraging Website Speed to Increase Sales
Leveraging Website Speed to Increase Sales
 
Metrics, Metrics Everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)Metrics, Metrics Everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)
 
Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)
 
Ahead of the Curve: How 23andMe Improved UX with Performance Edge
Ahead of the Curve: How 23andMe Improved UX with Performance EdgeAhead of the Curve: How 23andMe Improved UX with Performance Edge
Ahead of the Curve: How 23andMe Improved UX with Performance Edge
 
Boosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvementsBoosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvements
 
Web Performance Optimzation
Web Performance OptimzationWeb Performance Optimzation
Web Performance Optimzation
 

Recently uploaded

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Recently uploaded (20)

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 

Designers Guide to Web Performance Yotta 2013

  • 1.
  • 2. TABLE OF CONTENTS 1 WHY WEB PERFORMANCE MATTERS FOR DESIGNERS 7 WHY DESIGNERS STRUGGLE TO BUILD FAST WEBSITES 11 UNDERSTANDING KEY WEB PERFORMANCE METRICS 15 WHAT CAUSES POOR WEB PERFORMANCE? 24 HOW TO OPTIMIZE YOUR WEBSITE ASSETS 42 HOW TO MONITOR YOUR WEB PERFORMANCE 45 DESIGN WITH PERFORMANCE AS A PRIORITY
  • 3. Speed is one of the most overlooked aspects when it comes to websites and web apps. Today, users expect a website to load in 2 seconds or less. In fact, a 1-second delay in page load time equals a 3% drop in revenue per visitor, 7% fewer conversions, and a 16% decrease in customer satisfaction. When it comes to web performance, every millisecond counts. Why Web Performance MATTERS FOR DESIGNERS Chapter 1 1A DESIGNER’S GUIDE TO WEB PERFORMANCE
  • 4. Speed is the most important feature. If your application is slow, people won’t use it. Fred Wilson, Managing Partner @ Union Square Ventures “ 2A DESIGNER’S GUIDE TO WEB PERFORMANCE So, why should designers care? Because 80%-90% of performance occurs on the front-end of websites, which is where designers operate. Only 10%-20% happens via back-end performance, which falls under the responsibility of developers and operations. In other words, all of the content a designer is responsible for creating and building - HTML, CSS, JavaScript, images, etc. -- accounts for almost all of a page's load time.
  • 5. -20% -16% -12% -8% -4% 0% AVG IMPACT OF 1-SECOND DELAY IN PAGE LOAD TIME A faster website or web app will produce better business results and a better user experience. It will significantly increase visitors, conversions, average order size, and revenue both in the short and long-term. Here are some case studies and statistics that highlight the importance of web performance. 3A DESIGNER’S GUIDE TO WEB PERFORMANCE Revenue Conversions Pageviews User Satisfaction
  • 6. CASE STUDY #1 4A DESIGNER’S GUIDE TO WEB PERFORMANCE 100ms DECREASE IN PAGE LOAD TIME 1% DROP IN TOTAL REVENUE = Amazon found that a 100ms delay in page load time caused a 1% drop in total revenue -- that's millions of dollars for them!
  • 7. CASE STUDY #2 5A DESIGNER’S GUIDE TO WEB PERFORMANCE 12% INCREASE IN REVENUE 25% INCREASE IN PAGEVIEWS Shopzilla sped up its average page load time from 6 seconds to 1.2 seconds and experienced a 12% increase in revenue and a 25% increase in pageviews. +
  • 8. CASE STUDY #3 6A DESIGNER’S GUIDE TO WEB PERFORMANCE 15.4% INCREASE IN CONVERSIONS 60million MORE DOWNLOADS PER YEAR Mozilla shaved 2.2 seconds off their landing pages, increasing their download conversions by 15.4%, which will result in 60 million more Firefox downloads per year. =
  • 9. There are several key reasons why building a fast website or web app has become so challenging for designers. First, the creation of content decreases performance. The more content a webpage has, the worse it will perform. As Steve Souders, legendary web performance optimization guru, once said, "The fastest HTTP request is the one not made." Why Designers Struggle to BUILD FAST WEBSITES Chapter 2 7A DESIGNER’S GUIDE TO WEB PERFORMANCE
  • 10. The fastest HTTP request is the one not made. Steve Souders, Head Performance Engineer @ Google “ 8A DESIGNER’S GUIDE TO WEB PERFORMANCE So, the best way to optimize web performance, in theory, is to have no content at all. But, users now expect websites to contain more content, media, and interactivity than ever before. Striking a balance of fast performance and content-rich sites is one of the biggest challenges to running a great website today.
  • 11. Second, many designers are unaware of the performance consequences that their assets create. They lack the visibility and insight into their web performance issues - for example, knowing that a specific JavaScript file is slowing down their page load time by 3 seconds. They don't have or use the tools necessary to assess their web performance. Additionally, many designers do not know what steps they must take to fix these performance problems -- such as moving that specific piece of JavaScript to the bottom of their HTML code to prevent it from blocking the rest of the page downloading. A DESIGNER’S GUIDE TO WEB PERFORMANCE 9
  • 12. Lastly, without the help of a third-party service, the methods and techniques used to manually optimize a website are very time consuming. With tight deadlines and limited cycles, many designers do not take the time necessary or make it a priority to build a high performance website. Maintaining fast and consistent performance is a highly complex and demanding job. As a reference, Google, who is renowned for their fast performance and user experience, has a team of over 100 engineers whose sole job is focused on web performance optimization! 10A DESIGNER’S GUIDE TO WEB PERFORMANCE
  • 13. There are 3 key metric areas for web performance: back-end performance, front-end performance, and content complexity. Each key area contains several metrics that will provide actionable insight to improve the web performance and page load times of websites. Understanding Key Web PERFORMANCE METRICS Chapter 3 11A DESIGNER’S GUIDE TO WEB PERFORMANCE
  • 14. BACK-END PERFORMANCE METRICS 12A DESIGNER’S GUIDE TO WEB PERFORMANCE Back-end performance refers to the connection and delivery of a webpage's content. This accounts for about 10%-20% of web performance and is not visible to an end user. DNS Resolution Time Time elapsed for a DNS provider to execute its service - to process a visitor's URL request and return the matching IP address. Time to Connect Time elapsed from initial request to when the connection between the visitor's browser and an origin server is established. Waiting Time Time elapsed from establishing a connection to delivering the first byte of a webpage. Receiving Time Time elapsed from downloading the first byte to the last byte of a webpage. Time to Last Byte Time elapsed when every byte of a website has made it to the visitor's browser. Time to First Byte Time elapsed for the first byte of a website to make it to the visitor's browser.
  • 15. FRONT-END PERFORMANCE METRICS 13A DESIGNER’S GUIDE TO WEB PERFORMANCE Front-end performance refers to how quickly a visitor's browser executes and renders a webpage's content. Front-end metrics are measured from the moment a request for the site is made -- when the visitor clicks a link or enters a URL. Time to Title Time elapsed when a user's browser downloads the first byte of your website and the webpage's title displays in the browser. Time to Start Render Time elapsed when the first visible element appears on the blank page. Time to Display Time elapsed when all visual elements of the page are in place. Time to Interact Time elapsed when a user has gained control of a webpage and can interact with content.
  • 16. CONTENT COMPLEXITY METRICS 14A DESIGNER’S GUIDE TO WEB PERFORMANCE Content complexity refers to how complex a website’s composition is in terms of the number and the size of requests, assets, and files. The more requests and the heavier a website’s assets are, the more complex the website is, and vice versa. Total # of Assets Requests Domains HTML JavaScript CSS Images Media (Video, Audio, etc.) Other Total Size (KB) Page Size (Sum of All Assets’ Sizes) HTML JavaScript CSS Images Media (Video, Audio, etc.) Other
  • 17. What are the main culprits of poor performance? What components on the front-end cause the biggest problems? The key area we are focusing on improving performance of in this eBook is a website's content complexity. Designers should mainly be concerned with optimizing assets such as HTML, CSS, JavaScript, and image files. What Causes Poor WEB PERFORMANCE? Chapter 4 15A DESIGNER’S GUIDE TO WEB PERFORMANCE
  • 18. If your site is 15MB, it’s not HTML5 – it’s stupid. Christian Heilmann, Principal Developer Evangelist @ Mozilla “ 16A DESIGNER’S GUIDE TO WEB PERFORMANCE As we previously noted, a high number of files or assets is the biggest indicator of poor performance. Reducing the number of round trips and requests the browser needs to take to download a webpage will make the biggest impact on improving web performance.
  • 19. Picture yourself going to get a bunch of mail from your mailbox. In this example, you are like the browser, having to make trips to retrieve all of the assets needed to download your webpage. Would it make sense to make a separate trip to get every single piece of mail in your mailbox? No. But that's how a browser is programmed to behave when it downloads assets of a webpage -- it makes a separate trip for every individual file. Granted, the browser does this very quickly -- often, in milliseconds. But the more individual files there are, the longer it will take the browser to process all of those requests. 17A DESIGNER’S GUIDE TO WEB PERFORMANCE
  • 20. # OF ASSETS BREAKDOWN 18A DESIGNER’S GUIDE TO WEB PERFORMANCE 59AVG # OF ASSETS AVG # OF IMAGES AVG # OF JAVASCRIPT FILES AVG # OF CSS FILES AVG # OF OTHER FILES (VIDEO, AUDIO, ETC.) 33 11 5 10 When optimizing for performance, designers should reduce the number of files above all else as the number one priority. The key method to reduce the total number of assets on a webpage is combining files. - 5 10 15 20 25 1-25 26-50 51-100 100-200 201+ Number of Assets vs. Page Load Time (sec) PageLoadTime(sec)
  • 21. Large page size is another key indicator of poor performance. Bigger files take more time for browsers to download. Let's return to the mailbox analogy we just used. It's easy to carry a few envelopes of mail. But what if there were several heavy boxes and packages? All of a sudden, you won't be able to carry your mail as quickly or easily. The same holds true for browsers. If you have massive files on your website, browsers will have a tougher time downloading and delivering them to end users. So, designers need to compress and reduce file size as much as possible to achieve the fastest page load time possible. 19A DESIGNER’S GUIDE TO WEB PERFORMANCE 1.2MB VS. 121KB WINNER
  • 22. ASSET SIZE BREAKDOWN 20A DESIGNER’S GUIDE TO WEB PERFORMANCE 1.1MB AVG PAGE SIZE AVG SIZE OF TOTAL IMAGES AVG SIZE OF TOTAL JAVASCRIPT FILES AVG SIZE OF TOTAL CSS FILES AVG SIZE OF TOTAL OTHER FILES 653 KB 173 KB 34 KB 260 KB 0 5 10 15 20 25 30 <250 KB 250-500 KB 500-750 KB 750-1,000 KB 1,000 - 2,000 KB 2,000 - 4,000 KB 4,000 - 8,000 KB 8,000+ KB PageLoadTime(sec) Page Size (KB) vs Page Load Time (sec)
  • 23. JAVASCRIPT BREAKDOWN 21A DESIGNER’S GUIDE TO WEB PERFORMANCE JavaScript is generally the worst offender of poor performance, especially as it relates to the number of JavaScript files. 0 2 4 6 8 10 12 0 1 2 3 4 5 6 7 8 9 10 11+ PageLoadTime(sec) # of Javascripts # of Javascripts vs Page Load Time (sec)
  • 24. IMAGES BREAKDOWN A DESIGNER’S GUIDE TO WEB PERFORMANCE A high number of images and large image sizes are also top culprits when it comes to slowing down page loads. 0 4 8 12 16 20 0 - 50KB 50 - 100 KB 100 - 200 KB 200 - 500 KB 500 - 1,000 KB 1,000 - 2,000 KB 2,000 - 5,000 KB >5,000 KB PageLoadTime(sec) Image Size (MB) Image Size vs. Page Load Time (sec) 22
  • 25. CSS BREAKDOWN 23A DESIGNER’S GUIDE TO WEB PERFORMANCE CSS can be a contributing factor of poor performance, especially in terms of its size. Since CSS paints the visual display of a webpage, larger CSS files have more display work needed to be executed by the browser. - 2 4 6 8 10 12 0 1 - 5 KB 5 - 25 KB 25 - 100 KB 100+ KB PageLoadTime(sec) CSS Size (KB) CSS Size vs. Page Load Time (sec)
  • 26. There are many key methods and tactics you can use to optimize your web performance. Let’s take a deep dive into the best practices to optimize the individual assets of HTML, CSS, JavaScript, and images. How to Optimize Your WEBSITE ASSETS Chapter 5 24A DESIGNER’S GUIDE TO WEB PERFORMANCE
  • 27. The best strategy is to consider speed a feature just like one of the other features on your site. Stoyan Stefanov, Engineer @ Facebook & Author “ 25A DESIGNER’S GUIDE TO WEB PERFORMANCE Remember, as we discussed in the previous chapter, there are two key factors that will help improve our performance: ( 1 ) Reducing the total number of requests and ( 2 ) reducing the overall asset size. These will be the main actions we focus on for optimizing our web performance as designers.
  • 28. OPTIMIZE ORDER OF EXECUTION 26A DESIGNER’S GUIDE TO WEB PERFORMANCE Always load your external CSS files first, and then your external and inline JavaScript second in your <head>. JavaScript files are generally larger than CSS files and take a longer time to download, which delays the download of other assets. <head> <link rel="stylesheet" type="text/css" href=”stylesheet1.css" /> <link rel="stylesheet" type="text/css" href="stylesheet2.css" /> <link rel="stylesheet" type="text/css" href="stylesheet3.css" /> <link rel="alternate" type="application/rss+xml" title="Say hello" href="front.xml" /> <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> <script type="text/javascript"> document.write("Hello world!"); </script> </head>
  • 29. COMBINE CSS FILES 27A DESIGNER’S GUIDE TO WEB PERFORMANCE Combining, or “concatenating,” CSS files together decreases the number of requests and round trips the browser has to make, which subsequently decreases the page load time and reduces latency. <link rel="stylesheet" type=“text/css” href=”stylesheet1.css"> <link rel="stylesheet" type=“text/css” href=”stylesheet2.css"> <link rel=“stylesheet” type=“text/css” href=“stylesheet3.css”> <link rel=“stylesheet” type=“text/css” href=“combined.css”>
  • 30. 28A DESIGNER’S GUIDE TO WEB PERFORMANCE Just like CSS, combining or “concatenating” JavaScript files together decreases the number of requests and round trips the browser has to make, which subsequently decreases the page load time. <script type="text/javascript" src=“javascript1.js"></script> <script type="text/javascript" src=“javascript2.js"></script> <script type="text/javascript" src=“javascript3.js"></script> <script type="text/javascript" src=“combined.js"></script> COMBINE JAVASCRIPT FILES
  • 31. COMBINE IMAGES USING CSS SPRITES 29A DESIGNER’S GUIDE TO WEB PERFORMANCE Use CSS sprites to combine many image files into one. This significantly reduces the number of image requests and overall total page size. This technique also allows for faster parallelization of asset downloads. Here are some great free CSS sprite creator tools: •  SpriteMe •  Compass •  SpritePad •  Spritebox
  • 32. MINIFY HTML 30A DESIGNER’S GUIDE TO WEB PERFORMANCE Compressing your HTML file to remove comments, whitespace between tags, and unnecessary closing tags (such as </li>) can reduce the overall HTML file size and speed up the parsing and execution of a webpage. Here are some great tools to automatically minify your HTML files: •  HTML Compressor •  Google HTML Compressor and Minifier •  TextFixer
  • 33. MINIFY JAVASCRIPT 31A DESIGNER’S GUIDE TO WEB PERFORMANCE Compressing, or “minifying,” your JavaScript files includes eliminating unnecessary line breaks, extra spaces, and indentation, which reduces the overall size of the JavaScript files and increase page load time. Here are some great tools to automatically minify your JavaScript files: •  JavaScript Compressor •  JSCompress •  Online YUI Compressor
  • 34. MINIFY CSS 32A DESIGNER’S GUIDE TO WEB PERFORMANCE Compressing, or “minifying,” your CSS files includes removing all whitespace and semicolons for the last property of a CSS declaration, which reduces the overall size of the CSS files and increases page load times. Here are some great tools to automatically minify your CSS files: •  CSS Compressor •  CSS Drive •  Minify CSS •  Online YUI Compressor
  • 35. COMPRESS IMAGES 33A DESIGNER’S GUIDE TO WEB PERFORMANCE Compress the file size of your images. You can manually tune the save settings for your images in design software such as Photoshop, Illustrator, etc. Or, you can use free online tools that automatically compress your images. Here are some great tools to automatically compress your images: •  Yahoo! Smush.it •  JPEG-Optimizer •  Trimage
  • 36. AVOID CSS @import 34A DESIGNER’S GUIDE TO WEB PERFORMANCE Using CSS @import prevents the browser from being able to download the CSS files in parallel, which increases the number of requests the browser needs to make. Always use the traditional <link> tag for CSS to ensure parallelized downloads. <link rel="stylesheet" href=”stylesheet1.css"> <link rel="stylesheet" href=”stylesheet2.css"> @import url(“stylesheet2.css”)
  • 37. AVOID BAD REQUESTS 35A DESIGNER’S GUIDE TO WEB PERFORMANCE Be sure to remove any broken links, missing images, or other asset requests that result in 404 errors. Failing to do so creates a (higher) number of requests for non- existent assets that slows down the loading of the page.
  • 38. USE DATA URIs 36A DESIGNER’S GUIDE TO WEB PERFORMANCE For smaller images, data URIs are a great technique to cut down image requests by “inlining images” into HTML or CSS files. The image is immediately available when its host document is downloaded. Data URIs use Base64 encoding and follow this basic format: data:[<mime type>][;charset=<charset>][;base64],<encoded data>
  • 39. LOAD 3RD-PARTY ASSETS ASYNCHRONOUSLY 37A DESIGNER’S GUIDE TO WEB PERFORMANCE Assets that aren’t needed to construct the display of a webpage, most notably JavaScript files, can be loaded asynchronously so they do not block important resources from loading. These types of assets are typically social share widgets (Facebook, Twitter, etc.) and analytics tracking (Google Analytics, etc.) <script> var node = document.createElement('script'); node.type = 'text/javascript'; node.async = true; node.src = 'example.js'; // Now insert the node into the DOM, perhaps using insertBefore() </script>
  • 40. SPECIFY IMAGE DIMENSIONS 38A DESIGNER’S GUIDE TO WEB PERFORMANCE When possible, you should specify image dimensions in the HTML or CSS and serve a properly resized image that fits such dimensions. This will reduce the actual image file size and also prevent reflows the browser needs to make when loading the images. <img src=“myimage.jpg” height=“225” width=“150”>
  • 41. USE EFFICIENT CSS SELECTORS 39A DESIGNER’S GUIDE TO WEB PERFORMANCE You should write your CSS so that it is as efficient as possible. This includes avoiding a universal key selector (*), using class and ID selectors over tag selectors, removing redundant qualifiers, and avoiding the use of descendant selectors. The goal is to always be as specific and individual with your CSS as possible. For example: .unordered-list-item {color: blue;} .ordered-list-item {color: red;} ul li {color: blue;} ol li {color: red;}
  • 42. SPECIFY A CHARACTER SET 40A DESIGNER’S GUIDE TO WEB PERFORMANCE By specifying a character set in the HTTP response headers of your HTML document, you allow the browser to begin parsing HTML and executing scripts immediately. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  • 43. PUT CSS IN <HEAD> 41A DESIGNER’S GUIDE TO WEB PERFORMANCE It’s a best practice to always place your CSS in the <head> section of your HTML document. Removing inline style blocks and using <link> CSS files in the <head> section improves the browser render and display load times. <p style=“font-size: 1.2em; font-weight: bold; font-family: arial, helvetica;”> <head> <link rel=“stylesheet” type=“text/css” href=“stylesheet.css”> </head>
  • 44. In order to make major performance improvements, you will need to continually test and monitor your web performance. How to Monitor Your WEB PERFORMANCE Chapter 6 42A DESIGNER’S GUIDE TO WEB PERFORMANCE
  • 45. If you can’t measure it, you can’t improve it. Lord Kelvin, 19th Century Physicist and Engineer “ 43A DESIGNER’S GUIDE TO WEB PERFORMANCE The first thing you should do is test your website to establish a baseline of your current performance. You need to understand how your website and its assets load and where there are areas to improve. There are several key factors you should test your website against: different browsers, locations, and connectivities.
  • 46. Testing your website only provides a single snapshot in time, however. To capture a holistic view, you'll need to monitor and track your performance over time. This way, you can understand your performance trends -- how your website performs across the world, with various browsers, different connectivities, and traffic spikes. 44A DESIGNER’S GUIDE TO WEB PERFORMANCE Here’s a list of free resources to test and monitor your web performance: •  Yottaa Site Monitor •  Webpagetest.org •  YSlow •  Mobitest •  Websitetest.com
  • 47. The ultimate goal of this eBook is to create a fundamental shift in how you approach design: to design with performance as a priority. By looking at web design through the lens of performance, you’ll be able to build better, faster, and more scalable websites and web apps. Design With Performance AS A PRIORITY Chapter 7 45A DESIGNER’S GUIDE TO WEB PERFORMANCE Improve UserExperience Optimize WebPerformance _____
  • 48. Exceptional performance means being faster than a user expects us to be. Alois Reitebauer, Product Manager & Evangelist @ Compuware “ 46A DESIGNER’S GUIDE TO WEB PERFORMANCE What is the goal of design? Design should help users achieve tasks as fast as possible. Therefore, performance should be an integral part of your design process that drives decisions. Build performance best practices into your daily design habits. Reframe your mindset so you are constantly thinking: "Do I really need this image on the webpage at all? How can I rewrite and condense this CSS file? What's the best way to implement this design so it loads fast?”
  • 49. 47A DESIGNER’S GUIDE TO WEB PERFORMANCE WEB PERFORMANCE CHECKLIST   OPTIMIZE HTML  OPTIMIZE CSS   OPTIMIZE JAVASCRIPT  OPTIMIZE IMAGES PERFORMANCE GOALS  LOAD IN 2 SECONDS  INCREASE CONVERSIONS BY 5%   INCREASE USER SATISFACTION BY 10% Here are a few ways you can keep performance at top of the mind in your design process: •  Create a performance checklist for every design or asset you create •  Build a performance budget for your website (i.e. our website must load in 2 seconds. If it doesn’t, we must deliver our content in a way that it does meet this goal or we must remove some assets altogether) •  Conduct a regular review of your website performance and try to improve it just by optimizing your assets
  • 50. FREE GUIDE 9 TIPS FOR BENCHMARKING YOUR WEB PERFORMANCE This guide gives you 9 key tips to ensure you get the most actionable insights from your benchmarking program! DOWNLOAD GUIDE NOW FREE EBOOK HOW TO MANAGE A WPO PROJECT: A STEP-BY-STEP GUIDE Designed to help web developers and website owners understand the entire WPO process, this eBook will help you to put together your own action plan to improve performance. DOWNLOAD EBOOK NOW * FREE BONUS RESOURCES * FREE TRIAL SEE HOW MUCH FASTER YOUR WEBSITE COULD BE ON YOTTAA Accelerate your page load times, prevent website downtime, and benchmark your web performance against competitors with a free 7-day trial of Yottaa Site Optimizer. FREE 7-DAY TRIAL
  • 51. OPTIMIZE, PROTECT, & MONITOR YOUR WEBSITE CREATE MY FREE ACCOUNT Share this eBook with your friends! Get free 24x7 performance monitoring of your website from any browser, device, & location!