<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


What is SPDY?

  • SPDY, pronounced “SPeeDY”,  is an experimental application-layer protocol from Google developed as part of its "Let's make the web faster" initiative to help reduce the latency of web pages.  
  • This new protocol transports the existing HTTP protocol more efficiently (up to 50% faster). 
  • It is NOT a replacement for HTTP. It replaces some parts of HTTP, but mostly augments it. At the highest level of the application layer, the request-response protocol remains the same. SPDY still uses HTTP methods, headers, and other semantics. But SPDY overrides other parts of the protocol, such as connection management and data transfer formats.
  • SPDY is supported by Chrome web browser & Firefox 11 (disabled by default)
  • Amazon has baked SPDY support into its Silk browser for the Kindle.
  • Chrome SPDY indicator is a Chrome extension to visualize SPDY support in your address bar.
  • Twitter joins Google Search, Gmail in serving webpages over the SPDY protocol when available
  • SPDY may become part of HTTP 2.0
  • The problems with HTTP that SPDY tries to address are: 
    • the server cannot initiate a connection
    • headers are always uncompressed (N.B. cookies are sent in the header)
    • in a persistent connection, all headers are resent for each request
    • data is not always compressed
    • everything is in clear text       
  • SPDY addresses these issues by:
    • allowing unlimited and interleaved requests through a single connection
    • prioritizing requests (controlled by the client only)
    • compressing headers
    • allowing the server to push resources to the client without the client's asking (e.g. you're going to want the CSS file anyway)
    • allowing the server to suggest in the header what other resources the client might want to request (so no need to wait for the HTML to be parsed before knowing)
    • always using SSL

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

»

Post a Comment