Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Fast Web Apps

Building Fast Web Apps

A slide deck overview that covers best practices to improve performance of web sites and web applications built with HTML, CSS and JavaScript.

It summarizes strong know-how from Steve Souders, Addy Osmani and the Google Page Speed team.

Razvan Caliman

March 16, 2012
Tweet

More Decks by Razvan Caliman

Other Decks in Programming

Transcript

  1. 3 RTT (Round Trip Time) 1  DNS resolution 2  TCP

    connection setup 3  HTTP Request
  2. How your browser sees the Internet CSS host1.com PNG host1.com

    CSS host1.com PNG host1.com CSS host1.com PNG host1.com time
  3. How your browser can see the Internet CSS host1.com PNG

    host1.com CSS host2.com PNG host2.com CSS host3.com PNG host3.com time
  4. How your browser can see the Internet CSS host1.com PNG

    host1.com CSS host2.com PNG host2.com CSS host3.com PNG host3.com time
  5. tips for better results var foo; var bar; var baz;

    var foo, bar, baz; Minify Single var declaration
  6. tips for better results if (i>0){ return i } return

    0; var res = 1; if (i>0){ res = i } return res; Minify Single return (over-simplification)
  7. However… "border-radius" is among the most expensive CSS properties to

    affect rendering time […] ” - Juriy Zaytsev AKA kangax