The "Offline-first" breakpoint

Slides:



Advertisements
Similar presentations
Building Fast 3rd-Party Webapps O'Reilly Velocity Web Performance and Operations Conference 24 June Lessons.
Advertisements

PHP and CSS to control web apps styles. CSS is used to style today’s web applications.
CHAPTER 15 WEBPAGE OPTIMIZATION. LEARNING OBJECTIVES How to test your web-page performance How browser and server interactions impact performance What.
XHTML & CSS 2 By Trevor Adams. Last week XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Mobile at USC Common Solutions Group University of Minnesota, June 2011.
State of the mobile web Peter-Paul Koch Gomez Webinar, 24 March 2011 z.
Google I/O 2010 Notes Talk: Measure in milliseconds redux: Meet Speed Tracer Notes by: Armando Padilla.
Lecture 3B: Client-Side Scripting IT 202—Internet Applications Based on notes developed by Morgan Benton.
Web Page Behavior IS 373—Web Standards Todd Will.
Forms, Validation Week 7 INFM 603. Announcements Try placing today’s example in htdocs (XAMPP). This will allow you to execute examples that rely on PHP.
Performance, SEO, Accessibility Ivan Zhekov Telerik Corporation
HTML 5 New Standardization of HTML. I NTRODUCTION HTML5 is The New HTML Standard, New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D.
JavaScript Teppo Räisänen LIIKE/OAMK HTML, CSS, JavaScript HTML defines the structure CSS defines the layout JavaScript is used for scripting It.
Server-side Scripting Powering the webs favourite services.
Moving from Web-based Collaboration to the Mobile Arena Nimrod Geva Product Group Manager, KWizCom
JQUERY | INTRODUCTION. jQuery  Open source JavaScript library  Simplifies the interactions between  HTML document, or the Document Object Model (DOM),
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
Page Speed Bryan McQuade Richard Rabbat. Outline  What is Page Speed?  Inception of Page Speed  Cool features  Identify unused JavaScript and CSS.
Embedded Software SKKU 14 1 Sungkyunkwan University Tizen v2.3 Application Profiling & Debugging.
Don't Let Third Parties Slow You Down Arvind Jain, Michael Kleber Google.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
AJAX Live Regions & Accessibility by Charles L. Chen.
Offline Web Apps - an offline web application is a list of URLs for HTML, CSS, JavaScript, images, or any other kind of resource. Most browsers have offline.
PERFORMANCE ENHANCEMENT IN ASP.NET By Hassan Tariq Session #1.
Putting Performance Best Practices Together to Create the Perfect SPA Chris Love2Dev.com.
TOPIC II Dynamic HTML Prepared by: Nimcan Cabd Cali.
OPTIMISING USER INTERFACES FOR MOBILE COMPUTER ASSISTED INTERVIEWING DEVICES Prepared By Otyek Ronald James Uganda Bureau of Statistics Presented at the.
Mobile: Today and Beyond Stuart Parmenter, Director of Mobile
Solving the hard problems of User Experience
HTML5 & CSS3 A Practical Guide. HTML5 is more than HTML5 HTML5 Spec CSS3 Spec Web Fonts JavaScript to tie it all together.
Restricted © Siemens AG All rights reserved A Developer’s Insights Into Performance Optimizations for Mobile Web Apps CT DC AA EM LP2 | June 2015.
HTML 5 The Future of Web Development. What is HTML5? “HTML5 is a specification of how the web’s core language, HTML, should be formatted and utilized.
Dawn Pedersen. What is JavaScript? JavaScript is the basis for both jQuery and Spry applications JavaScript is referred to as a client-side scripting.
When connection basiafusinska.com barbarafusinska.com Going offline on mobile.
USING JAVASCRIPT TO SHOW AN ALERT Web Design Sec 6-2 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Document Object Model Nasrullah. DOM When a page is loaded,browser creates a Document Object Model of the Page.
IE Developer Tools Jonathan Seitel Program Manager.
Browser Compatibility Testing, using different browsers Conditional Statements.
Wes Preston DEV 202. Audience: Info Workers, Dev A deeper dive into use-cases where client-side rendering (CSR) and SharePoint’s JS Link property can.
丁建文 國立高雄應用科大資管系副教授 兼任計網中心軟體發展組組長 跨平台行動應用軟體開發技術 : HTML5 & Mobile JavaScript Framework 暨南大學.
Basics Components of Web Design & Development Basics, Components, Design and Development.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
Site Speed: The Ultimate UX Feature… for SEO. A case study on how to increase search engine crawling and online conversion Jonathon Colman In-House SEO.
MICROSOFT AJAX CDN (CONTENT DELIVERY NETWORK) Make Your ASP.NET site faster to retrieve.
Enhance Your Page Load Speed And Improve Traffic.
Cloud-Computing Cloud Web-Blog Software Application Download Software.
PHP MySQL Crash Course with HTML CSS
Internet Search What you need to know!.
Using JavaScript to Show an Alert
ASP.NET Core Tag Helpers
Intro to JavaScript CS 1150 Spring 2017.
Time is the enemy: Ten Core Lessons for Achieving Peak
Open Web App.
Preconnect, prefetch, prerender ...
What is the Difference between AMP and PWA
Tips for Website Speed Optimization
Myth Busting: Hosted Web Apps
Hints and tips for faster web apps
Episerver Performance A-Z
AMP.
AMP Up Your Website uWestFest 2017.
Of HTML, CSS and JavaScript
JavaScript: How To? B. Ramamurthy.
My week in JavaScript Hell
Browser Engine How it works…..
[Robert W. Sebesta, “Programming the World Wide Web
ASP.NET MVC Web Development
HTML and CSS Basics.
Week 5: Recap and Portfolio Site
Yale Digital Conference 2019
Presentation transcript:

The "Offline-first" breakpoint

JS

JS I Turned Off JavaScript for a Whole Week and It Was Glorious wired.com/2015/11/i-turned-off-javascript-for-a-whole-week-and-it-was-glorious

JS I Turned Off JavaScript for a Whole Week and It Was Glorious wired.com/2015/11/i-turned-off-javascript-for-a-whole-week-and-it-was-glorious

Lots of Luck…

W00t w00t Webkit prefix

My priorities in life: Turn off JS without any particular reason, Because I am a web hipster!! TTYL Turn off JS without any particular reason, Because I am a web hipster!! TTYL

Според w3 DO NOT RE-INVENT !!

You need more happiness on your web !

PLAY WHILE DOWNLOADING !! HOLY FUCKING SHIT !!

“Performance Matters”

Firefox Download Page

But .. Isn’t this a web app ?

Kurir test

Step 1 Markup the content

Step 1 Markup the content

https://blog.twitter.com/2012/improving-performance-on-twittercom

Step 2 Unblock your scripts

Step 2 Unblock your scripts

Lie to the user for perf. profit Step 3 Lie to the user for perf. profit

Requirement for first render Step 4 Don’t make web fonts a Requirement for first render

Requirement for first render Step 4 Don’t make web fonts a Requirement for first render https://github.com/filamentgroup/loadCSS

Requirement for first render Step 4 Don’t make web fonts a Requirement for first render

Step 5 Render with lvl 1’s CSS

Step 5 Render with lvl 1’s CSS

Optimizing for a full cache Step 6 Optimizing for a full cache

Optimizing for a full cache Step 6 Optimizing for a full cache What usually should happen: - Start with CSS & JS Load Render markup content CSS/JS loaded Execute CSS/JS But… - Start with CSS & JS Load - CSS/JS loaded Execute CSS/JS Render markup content

Optimizing for a full cache Step 6 Optimizing for a full cache Quickfix #hehe

LIE-FI

OFFLINE

Treat the network as an enhancement Step 7 Treat the network as an enhancement

Treat the network as an enhancement ( ‘d’ serviceworker) Step 7 Treat the network as an enhancement ( ‘d’ serviceworker)

Treat the network as an enhancement ( ‘d’ serviceworker) Step 7 Treat the network as an enhancement ( ‘d’ serviceworker) Page ServiceWorker Network Cache

Treat the network as an enhancement ( ‘d’ serviceworker) Step 7 Treat the network as an enhancement ( ‘d’ serviceworker) sw.js

Treat the network as an enhancement ( ‘d’ serviceworker) Step 7 Treat the network as an enhancement ( ‘d’ serviceworker) Page ServiceWorker Network Cache

Treat the network as an enhancement ( ‘d’ serviceworker) Step 7 Treat the network as an enhancement ( ‘d’ serviceworker) sw.js

Treat the network as an enhancement ( ‘d’ serviceworker) - fetch Step 7 Treat the network as an enhancement ( ‘d’ serviceworker) - fetch sw.js

That’s IT