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

Speed Matters: Mobile-Friendly Image Options

Speed Matters: Mobile-Friendly Image Options

Speed has always mattered, and it matters even more in mobile, where connection speed and reliability can vary wildly. A common bottleneck? Images.

How to serve up images lies squarely at the intersection of design and code, as we work to tune our sites for performance while maintaining maximum visual UI polish, especially for newer, pixel-dense displays. This presentation gives an overview of common (and less common) techniques, along with heuristics we can use to evaluate the suitability of each for differing applications.

Jen Matson

May 22, 2012
Tweet

More Decks by Jen Matson

Other Decks in Design

Transcript

  1. - Tenni Theurer, from “Best Practices for Speeding Up Your

    Web Site,” Yahoo! User Interface Blog Source: http://developer.yahoo.com/performance/rules.html “Reducing the number of HTTP requests has the biggest impact on reducing response time and is often the easiest performance improvement to make.”
  2. • Quality • Reusability • Maintainability • Creation Ease •

    File Size • Connection Impact Image Optimization Heuristics
  3. “...a way to include data in-line in web pages as

    if they were external resources [allowing] normally separate elements such as images and style sheets to be fetched in a single HTTP request rather than multiple HTTP requests, which can be more efficient.” What are Data URIs? Source: http://en.wikipedia.org/wiki/Data_URI_scheme
  4. Load Resources Conditionally Robot-to-human translation: Check to see if the

    browser cookie is set to “large,” and if so, serve up a large version of the image. Source: https://github.com/filamentgroup/Responsive-Images/tree/cookie-driven