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

Better By Proxy at Velocity NY 2015

Tim Kadlec
October 13, 2015

Better By Proxy at Velocity NY 2015

Proxy browsers get a bad rep. “They’re antiques.” “They behave in weird ways.” “They’re crappy browsers.” But a deeper understanding of what they accomplish, and what they do behind the scenes, reveals that they’re actually quite ingenious. And far from becoming outdated, they’re uniquely positioned to bring the web to the next wave of people and devices around the world.

We’ll look some of the more popular proxy browsers today, what they do, how to ensure your site works well on them, and why that’s so important.

Presented at Velocity, NY in New York, NY on October 13, 2015.

Tim Kadlec

October 13, 2015
Tweet

More Decks by Tim Kadlec

Other Decks in Programming

Transcript

  1. “…as bandwidth grows, and as processing power grows, and as

    browsers get better we just keep filling everything up. ” Jeff Veen
  2. 0 3000 6000 9000 12000 Pakistan Iran India Indonesia Azerbaijan

    South Africa China Armenia Belarus Bosnia Macedonia Georgia Kazakhstan US
  3. UNITED STATES 100 93 85 94 THAILAND 37 79 90

    48 CHINA 28 81 92 43 SOUTH AFRICA 38 62 89 49 INDONESIA 29 79 89 30 INDIA 38 65 39 19 PAKISTAN 21 63 29 10 TANZANIA 13 27 47 0 ETHIOPIA 0 0 0 5
  4. http://bit.ly/1pKV0gH 0 7.5 15 22.5 30 India APAC
 (minus China

    & India) Africa China Latin America North America Middle East CEE Western Europe
  5. 23%

  6. Potential Issue #3:
 Image transcoding or compression may result
 in

    blurry images Solution:
 Use Cache-Control: no-transform
  7. contextmenu dblclick error keydown keypress keyup mousemove mouseenter mouseleave mouseout

    mousewheel resize scroll touchcancel touchend touchmove touchstart
  8. Limit data consumed and limit impact on device while providing

    a nearly equal experience to a typical browser.
  9. contextmenu dblclick error keydown keypress keyup mousemove mouseenter mouseleave mouseout

    mousewheel resize scroll touchcancel touchend touchmove touchstart
  10. if('querySelector' in document && 'localStorage' in window && 'addEventListener' in

    window) { // bootstrap the javascript application } Sure, why not.
  11. var hasStorage = (function() { try { localStorage.setItem(mod, mod); localStorage.removeItem(mod);

    return true; } catch (exception) { return false; } }()); if( 'querySelector' in document && hasStorage && 'addEventListener' in window ){ // bootstrap the javascript application }
  12. var hasStorage = (function() { try { localStorage.setItem("test", "mod" );

    localStorage.removeItem("test"); return true; } catch (exception) { if (exception && exception.name=="QuotaExceededError" && localStorage.length == 0) { return true; } else { return false; } return false; } }()); if( 'querySelector' in document && hasStorage && 'addEventListener' in window ) { //cuts the mustard }
  13. var hasStorage = (function() { try { localStorage.setItem("test", "mod" );

    localStorage.removeItem("test"); return true; } catch (exception) { if (exception && exception.name=="QuotaExceededError" && localStorage.length == 0) { return true; } else { return false; } return false; } }()); if( 'querySelector' in document && hasStorage && 'addEventListener' in window ) { //cuts the mustard }
  14. “We believe that Africa’s internet evolution story will be no

    different from the rest of the world. We listen to music. We watch movies. We play games online… http://bit.ly/1R1ZmJV