©2013 AKAMAI | FASTER FORWARD TM It's all about Performance Measured and Perceived Performance on Desktop and Mobile Devices San Mateo Meetup, July 2013.

Slides:



Advertisements
Similar presentations
Web 2.0 Programming 1 © Tongji University, Computer Science and Technology. Web Web Programming Technology 2012.
Advertisements

Optimizing Websites with YSlow Tom Lianza Co-Founder Wishlisting.com Tom Lianza Co-Founder Wishlisting.com.
Building Fast 3rd-Party Webapps O'Reilly Velocity Web Performance and Operations Conference 24 June Lessons.
CS193H: High Performance Web Sites Lecture 5: Make Fewer HTTP Requests Steve Souders Google
CS193H: High Performance Web Sites Lecture 12: Rule 8 – Make JavaScript and CSS External Steve Souders Google
Web Performance Meetup 1 Web Performance 101 Jeremy
Web Performance Meetup 1 Web Performance Toolbelt Jeremy
Intermediate 2 Computing
Stevesouders.com/docs/velocity-wpo pptx Disclaimer: This content does not necessarily reflect the opinions of my employer.
RESPONSIVE AND MOBILE DESIGN BY: CHRIS PASQUARETTE APRIL, 2013.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Site Performance What makes web sites slow? Back end Front end Tools for measuring performance Firebug / YSlow Visual Studio Test Edition W3.org html.
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Ektron Brown Bag: USF Mobile Website Marlene Tom August 7 &16, 2013.
Copyright © Steven W. Johnson
CHAPTER 15 WEBPAGE OPTIMIZATION. LEARNING OBJECTIVES How to test your web-page performance How browser and server interactions impact performance What.
Improving Web Site Performance and Scalability While Saving Money Robert Boedigheimer ∙ Web Application
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
Anderson Quach (Microsoft) Tony Gentilcore (Google)
4.01 How Web Pages Work.
Analysis and Performance Information Systems 337 Prof. Harry Plantinga.
V1.00 © 2009 Research In Motion Limited Introduction to Mobile Device Web Development Trainer name Date.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Performance Comparison of Congested HTTP/2 Links Brian Card, CS /7/
Chapter 1 Getting Started With Dreamweaver. Explore the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Responsive Design What it is and why you need it.
Network. Add speed of light and speed in fiber Inspired by High Performance Browser Networking (Ilya Grigorik) Even Faster Web Sites (Steve Souders)
Mark Phillip markphillip.com 200s, 304s, Expires Headers, HTTP Compression, And You.
Performance, SEO, Accessibility Ivan Zhekov Telerik Corporation
IT 210 The Internet & World Wide Web introduction.
 Zhichun Li  The Robust and Secure Systems group at NEC Research Labs  Northwestern University  Tsinghua University 2.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Dynamic Web Pages (Flash, JavaScript)
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
Lecturer: Ghadah Aldehim
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Adapting web pages for mobile devices Fredrik Andersson Hannes Nevalainen.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 6: Links.
 The World Wide Web is a collection of electronic documents linked together like a spider web.  These documents are stored on computers called servers.
Challenges in Web Document Summarization: Some Myths and Reality A. Rahman H. Alam Document Analysis and Recognition Team (DART) BCL Computers Inc. Santa.
WEB SCIENCE. What is the difference between the Internet and the World Wide Web? Internet is the entire network of connected computers and routers used.
Web Performance and key business metrics Part II: More Findings from the Front Line of Web Acceleration.
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
1 UNIT 13 The World Wide Web Lecturer: Kholood Baselm.
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
PERFORMANCE ENHANCEMENT IN ASP.NET By Hassan Tariq Session #1.
Putting Performance Best Practices Together to Create the Perfect SPA Chris Love2Dev.com.
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
LESSON 15 – UNIT 0 ADAPTING YOUR WEB SITE FOR MOBILE DEVICES.
What is Seo? SEO stands for “search engine optimization.” It is the process of getting traffic from the “free,” “organic,” “editorial” or “natural” search.
WHAT'S THE DIFFERENCE BETWEEN A WEB APPLICATION STREAMING NETWORK AND A CDN? INSTART LOGIC.
Whole Page Performance Leeann Bent and Geoffrey M. Voelker University of California, San Diego.
1 UNIT 13 The World Wide Web. Introduction 2 Agenda The World Wide Web Search Engines Video Streaming 3.
1 UNIT 13 The World Wide Web. Introduction 2 The World Wide Web: ▫ Commonly referred to as WWW or the Web. ▫ Is a service on the Internet. It consists.
THE FUTURE IS HERE: APPLICATION- AWARE CACHING BY ASHOK ANAND.
IF STARBUCKS USED INSTART LOGIC, THEY WOULD HAVE A FASTER RESPONSIVE WEBSITE BY PETER BLUM.
Enhance Your Page Load Speed And Improve Traffic.
4.01 How Web Pages Work.
JQuery Fundamentals Introduction Tutorial Videos
Dreamweaver – Setting up a Site and Page Layouts
Tutorial 6 Topic: jQuery and jQuery Mobile Li Xu
Information Systems 337 Prof. Harry Plantinga Assessment.
Tips for Website Speed Optimization
Episerver Performance A-Z
AMP Up Your Website uWestFest 2017.
SEEM4570 Tutorial 5: jQuery + jQuery Mobile
4.01 How Web Pages Work.
Yale Digital Conference 2019
Presentation transcript:

©2013 AKAMAI | FASTER FORWARD TM It's all about Performance Measured and Perceived Performance on Desktop and Mobile Devices San Mateo Meetup, July 2013

©2013 AKAMAI | FASTER FORWARD TM Agenda Introduction Who We Are Why Performance Matters Measured vs. Perceived Performance Measured Performance Perceived Performance Mobile Websites Specific Challenges Design Alternatives

©2013 AKAMAI | FASTER FORWARD TM Introduction

©2013 AKAMAI | FASTER FORWARD TM Who we are Eugene Zhang, Sr. Enterprise Architect Manuel Alvarez Enterprise Architect Pierre Lermant Enterprise Architect

©2013 AKAMAI | FASTER FORWARD TM Why Website Performance Matters Gomez * For e-commerce, conversion rate increases 74% when page load time decreases from 8 to 2 seconds Computer and Equation Research * 71% of mobile web users expect website performance on their mobile phones to be equal to, or better than, what they experience on their desktops -- up from 58% in Google ** Is incorporating page performance data in its ranking * Source ** Source

©2013 AKAMAI | FASTER FORWARD TM Yet Website Content Always Increasing Source: Ilya Grigorik

©2013 AKAMAI | FASTER FORWARD TM Measured vs. Perceived Performance

©2013 AKAMAI | FASTER FORWARD TM Measured Performance: Definition Performance is typically measured by the elapsed time between the 'navigationStart' request until the browser "onload" event is triggered on the new page, after all the resources (html, images, css, js) have been downloaded. Source: W3C

©2013 AKAMAI | FASTER FORWARD TM Measured Performance: Standard Optimizations Gzip and minimize text files (CSS, HTML, JS) - Sprite small images Make JS asynchronous, avoid document.write Only request resources the page is using Minimize header payloads (e.g. cookieless domain for images) Resource inlining, domain sharding Maintain Persistent Connection (keep-alive) Leverage a Content Delivery Network (caching close to users, route optimization, resource prefetching,...)

©2013 AKAMAI | FASTER FORWARD TM Perceived Performance: What is it? No browser-independent, agreed upon metric as of yet. Loosely defined as either when all elements in viewing area have been painted or when user sees enough information to interact with the site. Webpagetest.org uses the % of viewport paint completion as a metric There is usually a good correlation between measured and perceived performances If care is not given to perceived performance, user experience can be negatively impacted, even if real performance metrics are positive. See examples on next page

©2013 AKAMAI | FASTER FORWARD TM Perceived Performance: Possible Optimizations How to achieve better perceived performance? Optimize measured performance first, since the 2 are often closely related Prioritize rendering of core items users need to start interaction (e.g. search box) Prioritize loading and rendering of content above the fold Avoid animation until user starts interaction (click, mouseover) as animation can be mistaken for an unfinished (still loading) page Practical Tools Tips User server 'flush' when possible (e.g. http headers, top navigation bar) Stylesheets at the top and scripts at the bottom For third party viewports, consider static low-res images first and then high- res/animation thru JS Run visual tests and capture key frames to understand how real and perceived performances correlate. E.g. webpagetest 'filmstripview'

©2013 AKAMAI | FASTER FORWARD TM Mobile Websites Mobile Challenges and Design Alternatives

©2013 AKAMAI | FASTER FORWARD TM Mobile: Specific Challenges Network Conditions Wireless Connection Network Latency * 2G ms 3G (HSPA) ms 4G (HSPA+) ms 4G (LTE) ms Slow DNS lookups (>200 ms) High packet loss Device Characteristics Screen size Proximity to cell tower Control-plane wake-up time, adds another 100(4G)-2000(3G) ms to link negotiation * Source:

©2013 AKAMAI | FASTER FORWARD TM Mobile: Dedicated Site Design Advantages: Improved user experience thru tailored design Only load the assets needed for mobile users Use lightweight requests Disadvantages Dedicated set of resources and code, separate from desktop site Difficult to support devices with different characteristics Multiple URLs for each page, requires expensive redirects

©2013 AKAMAI | FASTER FORWARD TM Mobile: Adaptive Site Design Advantages Shared resources, single code base A single URL for all devices, no redirect Disadvantages Hard to write and maintain, complex front-end code development Need to support wide range of browsers/clients In general, slower performance than dedicated sites due to JS

©2013 AKAMAI | FASTER FORWARD TM Mobile: Design Takeaways There is no one-size-fits-all approach. Consider your business priorities Balance design richness with performance goals o Fancy or sloppy designs can kill performance Aggressively minimize the number of requests, avoid redirects Reduce the use of javascript Consider advanced Front End Optimizations: responsive image sizing, click-on-touch, page pre-fetching, asynchronous JS Benchmark for mobile performance, e.g.

©2013 AKAMAI | FASTER FORWARD TM Q&A