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

Performance in a Responsive World - Codemash 2014

Rob
January 09, 2014

Performance in a Responsive World - Codemash 2014

Rob

January 09, 2014
Tweet

More Decks by Rob

Other Decks in Programming

Transcript

  1. Bandwidth As of March of 2012, 86% of the sites

    on mediaqueri.es demonstrated the same weight and load time at resolutions from 300ish to 1200ish. via @guypod http://www.guypo.com/mobile/performance-implications-of- responsive-design-book-contribution/ Friday, January 10, 14
  2. Pixel Density Most new mobile devices have high pixel density

    displays: Apple iPhone 4+: 326 PPI Amazon Kindle Fire HD 8.9: 254 PPI Nokia Lumia 920: 332 PPI BlackBerry Z10: 356 PPI Samsung Galaxy Note: 285 PPI Friday, January 10, 14
  3. The things that were important to performance before #RWD are

    still the most important things. Friday, January 10, 14
  4. Things that will affect site performance. ‣ Server time ‣

    Number of requests ‣ Total download size of required assets ‣ Rendering of the CSS and JS init Friday, January 10, 14
  5. “The fastest HTTP request is the one not made.” -

    Steve Souders Friday, January 10, 14
  6. Let’s not blame the technique or the tools but the

    implementation. Friday, January 10, 14
  7. Traditional Linear Workflow M ake it FA ST! CONTENT UX

    DESIGN FRONT-END BACK-END LAUNCH! Friday, January 10, 14
  8. Traditional Linear Workflow M ake it FA ST! CONTENT UX

    DESIGN FRONT-END BACK-END LAUNCH! Friday, January 10, 14
  9. Phased Release BACK-END FRONT-END DESIGN C O NTENT UX DELIVERABLE

    DELIVERABLE DELIVERABLE DELIVERABLE DELIVERABLE DELIVERABLE RELEASE RELEASE Friday, January 10, 14
  10. Phased Release BACK-END FRONT-END DESIGN C O NTENT UX M

    ake it FA ST! Make it FAST! Make it FAST! Make it FAST! M ake it FA ST! Friday, January 10, 14
  11. This will allow your team to focus on performance at

    every step. Friday, January 10, 14
  12. Make it feel fast. I like to call this perceived

    performance. Friday, January 10, 14
  13. Icon Fonts ‣ Fonts by default are resolution independent, Icon

    fonts are no different. ‣ http://icomoon.io/app/ allows you to create your own icon fonts ‣ They do require a bit more markup, and JS for IE 7 and lower. Friday, January 10, 14
  14. Picture Fill ‣ A Responsive Images approach that you can

    use today that mimics the proposed picture element usingspans, for safety sake. ‣ https://github.com/scottjehl/ picturefill Friday, January 10, 14
  15. <ifmodule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 second" ExpiresByType

    text/html "access plus 7200 seconds" ExpiresByType image/gif "access plus 518400 seconds" ExpiresByType image/jpeg "access plus 518400 seconds" ExpiresByType image/png "access plus 518400 seconds" ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 216000 seconds" </ifmodule> Caching Configuration Friday, January 10, 14
  16. <ifmodule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 second" ExpiresByType

    text/html "access plus 7200 seconds" ExpiresByType image/gif "access plus 518400 seconds" ExpiresByType image/jpeg "access plus 518400 seconds" ExpiresByType image/png "access plus 518400 seconds" ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 216000 seconds" </ifmodule> Caching Configuration Friday, January 10, 14
  17. <ifmodule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 second" ExpiresByType

    text/html "access plus 7200 seconds" ExpiresByType image/gif "access plus 518400 seconds" ExpiresByType image/jpeg "access plus 518400 seconds" ExpiresByType image/png "access plus 518400 seconds" ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 216000 seconds" </ifmodule> Caching Configuration Friday, January 10, 14
  18. <ifmodule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 second" ExpiresByType

    text/html "access plus 7200 seconds" ExpiresByType image/gif "access plus 518400 seconds" ExpiresByType image/jpeg "access plus 518400 seconds" ExpiresByType image/png "access plus 518400 seconds" ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 216000 seconds" </ifmodule> Caching Configuration Friday, January 10, 14