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

All that JS

Avatar for Frank Leue Frank Leue
October 17, 2013

All that JS

We have to admit: We got lazy with proper usage of JS. Frameworks, Boilerplates and such allure us with promises and let us forget how to properly dose something that imposes stress to the browser.

This talk will show you techniques to slim your JS and ramp up your page speed.

Avatar for Frank Leue

Frank Leue

October 17, 2013
Tweet

More Decks by Frank Leue

Other Decks in Programming

Transcript

  1. $

  2. 57% OCT 2010 OCT 2013 71% 92% Usage Marketshare jQuery

    popularity since Flash dies w3techs.com (h p://bit.ly/18f8WGo) 25%
  3. This also happened in july: „Twi er Bootstrap Now Powering

    1% of The Web“ meanpath.com (h p://bit.ly/1935Yo6)
  4. @benhowdle #FEL „With jQuery, I feel like I‘m always ,prototypig‘.

    “ „With JS, it feels more like writing so ware“
  5. + 7 Requests + 57 KB + 10 Requests +

    180 KB + 12 Requests + 519 KB
  6. PLANING FOR PERFORMANCE Think about using core JS instead Libs.

    Look at HTML 5 specs and new elements. Double check when using 3rd party stuff. Think outside the box. Use your servers superpowers. Enhance progressively. Use tools to save you from headaches.
  7. Thibault Geffroy, from The Noun Project Goldfish by Sean Hepburn

    Kyle Wya , from The Noun Project Dmitry Baranovskiy, from The Noun Project Edward Boatman, from The Noun Project Luboš Volkov, from The Noun Project Lois Maureen, from The Noun Project Patrick, from The Noun Project Edward Boatman, from The Noun Project Fonts by CREDITS