A talk by Joacim Gunnarsson about Web Performance in general. It's focused on the client side and includes concrete tips how you can improve and plan the performance of your site.
for one second • How do I test my site? ◦ Speed Index • Latency vs Bandwidth • TCP Connections • SlowIt - Let’s fix it • Prefetching • Perceived Performance • Performance planning • The Future… Is here
page to load in less than 2 seconds • 40% of the users abandon sites with page load high than 3 seconds http://blog.jamesdbloom.com/WhyDoesWebPerformanceMatter.html
in ad revenue. • Amazon - 100ms slowdown – can mean a 1% decrease in revenue. • Yahoo - 400ms improvement in load time translated to a 9% increase in traffic.
in ad revenue. • Amazon - 100ms slowdown – can mean a 1% decrease in revenue. • Yahoo - 400ms improvement in load time translated to a 9% increase in traffic. • Google is so committed to speed and User Experience that they are, right within their search results, experimenting with affixing a "SLOW" label to slower websites
Sometimes, just one second.” ― Lewis Carroll, Alice in Wonderland http://www.smashingmagazine.com/2015/09/why-performance-matters-the-perception-of-time/
300–1000 ms 3G 0.5–5 Mbit/s 100–500 ms 4G 1–50 Mbit/s < 100 ms http://chimera.labs.oreilly.com/books/1230000000545/ch07.html#_evolution_of_3g_technologies
Minimize the number of your HTTP requests for a good mobile experience • Can we deliver the page in one round trip? http://chimera.labs.oreilly.com/books/1230000000545/ch07.html#RRC
• Speedindex of 2500 • 14 kb rule • Images max weight 100kb • Total weight of all images less than 2 mb • Max number of HTTP requets 80 • The total weight of the website should not exceed 5 mb SEPARATION OF CONCERNS - Andy Hume • Core content • Enhancement • Leftovers https://vimeo.com/77967591
Framing Layer • Header Compression • One TCP connection • Multiplexing • Server push • And more Anti-patterns • Images Sprites • Merging css, js http://chimera.labs.oreilly.com/books/1230000000545/ch07.html#_evolution_of_3g_technologies “when we download the top 25 websites over simulated home network connections, we see a significant improvement in performance—pages loaded up to 55% faster.” -- A 2x Faster Web Chromium Blog