Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: mod_spdy  (Read 3449 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
mod_spdy
« on: May 23, 2014, 06:58:39 am »
mod_spdy

SPDY is a new networking protocol used for speeding up the web. It combines with http protocol with several speed related features that can reduce page load time. It uses stream multiplexing and header compression to improve speed.

In order to use SPDY, a web server and a browser that both support SPDY is needed. Google chrome and newer versions of Firefox support SPDY protocol. In Apache HTTPD server mod_spdy module add support to SPDY protocol. SPDY protocol uses HTTPS so site need to serve content over HTTPS in order to benefit from mod_spdy.mod_spdy serves requests like Apache worker MPM. It serves requests using an internal thread pool which interact badly with non-thread-safe Apache modules. In order to server php over mod_spdy use mod_fcgid rather than mod_php.This is because as some PHP libraries are not thread safe using mod_fcgid will run PHP in a separate process thus avoiding thread safety issues.

1. SPDY cuts down bandwidth usage by allowing client and server to compress request and response headers when similar headers are sent over and over for multiple request.

2. SPDY protocol also allow simultaneously multiplexed requests over a single connection thus saving round trips between client and server.

3. SPDY allows server to make efficient use of underutilized bandwidth by actively pushing the resources like java scripts and CSS files without waiting for client to request them.

Installing mod_spdy on centos

#wget https://dl-ssl.google.com/dl/linux/direct/mod-spdy-beta_current_x86_64.rpm
(or)
#yum install –nogpgcheck mod-spdy-beta_current_x86_64.rpm

#/etc/init.d/httpd restart
====