Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

9. Hacking HTML5 Connectivity > Hack 78. Build a Simple SPDY Server with node-s...

Hack 78. Build a Simple SPDY Server with node-spdy

SPDY is a protocol created and used by Google to reduce web page load time. It doesn’t replace HTTP; rather, you can use it to compress and simplify HTTP requests.

Let’s start this hack with a disclaimer: this hack will be short and simple. An exploration of SPDY is simply too large for this book. Besides, we have already exceeded 400 pages!

That being said, SPDY is too important to the future of web technologies and the HTML5 connectivity layer to not be mentioned.

So, the goal of this hack will be to get you up and running with the very basics of SDPY, and add another tool to your tool belt.

node-spdy

To serve up our simple SPDY implementation we will default to Node.js as we often have throughout this text. We will make use of Fedor Indutny’s node-spdy.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint