Technology Explained

What Is SPDY, And How Can It Maximize Your Browsing Experience?

Taylor Bolduc 30-01-2015

Have you ever felt frustrated by a web page’s slow loading time, or been concerned about its security (or lack thereof)? Google is developing something right now that should resolve some of those issues. It’s called SPDY, and it will work in conjunction with HTTP to make the internet a lot faster.


First, What Is HTTP?

Short for HyperText Transfer Protocol, HTTP serves as the underlying protocol for the Internet. It is an application-level protocol, a set of rules defining how two devices communicate and share data with one another. Unfortunately, because of how it was designed, web page latency or slow loading times is a significant problem faced by HTTP. Of course, if you use HTTPS HTTPS Everywhere: Use HTTPS Instead of HTTP When Possible Read More , some of this may be less of an issue.

HTTP originally mandated that communication to the server be closed after each request/response cycle, where one device sends a request for data to another device and then receives that data from the other device. This resulted in the complete set up and break down of a TCP channel for every request, which was expensive in terms of bandwidth and put a lot of unnecessary strain on the computers and servers. TCP, like HTTP, is a web protocol that specifically provides guaranteed delivery, duplicate suppression, in-order delivery, flow control, congestion avoidance and other transport features.


Another problem with it was that it contained FIFO semantics. FIFO, or ‘First In, First Out’ semantics essentially dictate that the first request to come in to the server will have the first response out. But this can be a problem. When there is a slow request at the front of the queue, the requests behind it will have to wait longer and there is a back-flow of requests.

Then, along came HTTP 1.1 with some major changes aimed at resolving this issue. For one, HTTP 1.1 allowed for new types of TCP connections that enabled the channels to stay open between request/response cycles. These were called ‘keep alive’ connections. HTTP 1.1 also allowed for something called pipelining, which promised to get rid of the one-at-a-time system for dealing with requests. Keep alive connections were widely adopted, while pipelining was only ever used by Opera, which is known for using more innovative technology 5 Ideological Reasons Why You Should Try Opera Not a lot of people have tried Opera or even heard much about Opera as the browser has always watched from far away as Internet Explorer, then Firefox, and now Google Chrome are taking the... Read More in its browser.


What About SPDY?

Because pipelining wasn’t widely adopted, web page latency still remained an issue. Then, in 2009, Google announced that it had begun work developing SPDY with the goal that it would help speed up the Internet.

SPDY is an open networking protocol intended to be used in addition to HTTP to transport web data. Being an open networking protocol, it establishes rules for how data is shared across networks.

It works by manipulating HTTP traffic to cut back on web page load latency. It does this by assigning a specific identifier called a stream ID to each request. From there, it is able to bypass HTTP’s FIFO system by using just one TCP channel. Multiple requests can be responded to at the same time, freeing up queues and cutting slow loading times. However, nothing will be lost or messed up thanks to that stream ID.

SPDY also reduce web page loading time by compressing the headers that come with requests. Uncompressed, as they come through HTTP, they can vary in size from about 200 bytes to well over 2 KB. It’s not uncommon for request headers to be as large as 700 KB, either. When these come into the server, uncompressed, they eat up bandwidth and the latency can take its toll on a connection.


Redundant headers are also removed during requests. After a header has been established once, it doesn’t need to be sent again and again, and it isn’t, thanks to SPDY.

SPDY requires SSL for security, making it far more secure than HTTP. Not only that, it has been shown in head-to-head tests to be 64% faster than HTTP, although subsequent tests run by a few teams have shown that this really doesn’t make too much of a difference overall, because websites have a lot of different source material that there would still be a bit of latency in use.

Nevertheless, as of November 2014, SPDY is supported by 2.3% of all websites, including Twitter and many of Google’s services.

How Can I Use It?

What Is SPDY, And How Can It Maximize Your Browsing Experience? 7293059152 a3452efcd4 o e1421292751800


If you use Google services or Twitter, you are already using SPDY. However, because only a few websites support SPDY, chances are you will not be using it more than HTTP or HTTPS for a long time.

For users with web servers, you can usually implement SPDY without having to alter any web content. For Apache users How To Set Up An Apache Web Server In 3 Easy Steps Whatever the reason is, you may at some point want to get a web server going. Whether you want to give yourself remote access to certain pages or services, you want to get a community... Read More , there is a SPDY extension that can be installed called mod_SPDY. If you use Nginx, you can apply the SPDY patch. While mod_SPDY and the SPDY patch for Nginx are certainly new and probably confusing, they are not incredibly difficult to install. However, you still will require an SSL certificate. This article by Mohan Ramkumar will show you how to get your very own SSL certificate How To Get Your Very Own Free SSL Certificate Read More , for free.

If you’re on a browser and curious about which sites support SPDY, there are apps and add-ons available that show whether it is enabled or not, such as SPDY Indicator available for Chrome and Mozilla Firefox. It displays a small green lightning icon if it is enabled for a specific website, and an optional gray icon if it is not enabled.


Although SPDY may not be faster than HTTP in real world usage, it’s getting there and is already supported by several web browsers, including Chrome/Chromium, Mozilla Firefox, Opera, Amazon Silk, and Safari. While enabling support for SPDY on your own server may be a little complicated at first, you’re paving the way for a new world wide web.


Have any experience with SPDY? Leave a comment below and we’ll chat!

Image Credit: Server Room via Flickr, Unplugged via Flickr, SPDY Enabled on Firefox 12.0 via Flickr

Related topics: Google, Web Development.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Robert
    February 7, 2017 at 1:35 pm

    In Poland we have FTTH up to 600Mb/s at the moment an it cost 79zl what is equivalent of 19USD

  2. john
    September 15, 2016 at 4:04 pm

    i cant undestand the difference between fttc and fttn
    the things i know for fttc concept is
    >fiber from
    CO(central office) then to cabinet
    > cabinet ,copper to the cosumers
    plus it can accomudate less than 300m

    while fttn is greater than 300m so whats the main difference between them???
    is the concept same with fttc?
    what is the main advantage of fttn?

  3. Rich
    February 2, 2015 at 3:39 am

    Hi. In the introduction, it mentions that HTTPS can alleviate problems with latency and slow loading times. However, in my experience, HTTPS tends to do the opposite because the server has to take time encrypting the data. The added delay may be minimal with faster server hardware and shorter keys. However, I don't know how HTTPS could actually speed anything up. Am I missing something?

  4. Robert Pruitt
    February 1, 2015 at 8:10 am

    @Chris T.

    No, Adblock does not leave the ads on the server twice.

    It will however, relieve the bandwidth congestion.

  5. Cho
    January 31, 2015 at 6:25 am

    The vast wasting of bandwidth is caused by advertising content that is jammed into the pages we visit. Nothing is controllable until all that crap gets loaded from the dozens of servers delivering the payload to your machine.

    • Chris T.
      January 31, 2015 at 7:18 am

      hey there, does adblock releave the bandwidth?