mod_spdy is an open-source Apache module that adds support for the SPDY protocol to the Apache HTTPD server. This allows for faster page loading and more efficient bandwidth utilization when loading https URLs in SPDY-enabled browsers.
SPDY (pronounced "SPeeDY") is a new networking protocol whose goal is to speed up the web. SPDY augments HTTP with several speed-related features that can dramatically reduce page load time:
* SPDY allows client and server to compress request and response headers, which cuts down on bandwidth usage when the similar headers (e.g. cookies) are sent over and over for multiple requests.
* SPDY allows multiple, simultaneously multiplexed requests over a single connection, saving on round trips between client and server, and preventing low-priority resources from blocking higher-priority requests.
* SPDY allows the server to actively push resources to the client that it knows the client will need (e.g. JavaScript and CSS files) without waiting for the client to request them, allowing the server to make efficient use of unutilized bandwidth.
NOTE:The SPDY protocol uses HTTPS, so your site needs to serve content over HTTPS in order to benefit from mod_spdy.
Enable SSL on Apache:
Type following command to enable SSL for your default website on Apache:
Now, check to see if you are able to access your site using https:// protocol.
Installing mod_spdy:
Download mod_spdy packages
mod_spdy 32-bit .deb (Debian/Ubuntu)
mod_spdy 64-bit .deb (Debian/Ubuntu)
Download the appropriate package (above) for your system and type following command to install mod_spdy:
Finally, restart your Apache server using command: /etc/init.d/apache2 restart
You can find the mod_spdy configuration at /etc/apache2/mods-available/spdy.conf, there is nothing much you need to change in this configuration file, the default setting is good enough.
Testing mod_spdy:
Open up the latest version of chrome browser and load the special Chrome URL
Just after the page loads, look at the chrome://net-internals/#spdy tab. Your server's domain should be listed in the table under the "SPDY sessions" heading.
Also, worth looking at : Configure Apache HTTP server with mod-pagespeed for high performance
SPDY (pronounced "SPeeDY") is a new networking protocol whose goal is to speed up the web. SPDY augments HTTP with several speed-related features that can dramatically reduce page load time:
* SPDY allows client and server to compress request and response headers, which cuts down on bandwidth usage when the similar headers (e.g. cookies) are sent over and over for multiple requests.
* SPDY allows multiple, simultaneously multiplexed requests over a single connection, saving on round trips between client and server, and preventing low-priority resources from blocking higher-priority requests.
* SPDY allows the server to actively push resources to the client that it knows the client will need (e.g. JavaScript and CSS files) without waiting for the client to request them, allowing the server to make efficient use of unutilized bandwidth.
NOTE:The SPDY protocol uses HTTPS, so your site needs to serve content over HTTPS in order to benefit from mod_spdy.
Enable SSL on Apache:
Type following command to enable SSL for your default website on Apache:
a2enmod sslRestart Apache using command: /etc/init.d/apache2 restart
a2ensite default-ssl
Now, check to see if you are able to access your site using https:// protocol.
Installing mod_spdy:
Download mod_spdy packages
mod_spdy 32-bit .deb (Debian/Ubuntu)
mod_spdy 64-bit .deb (Debian/Ubuntu)
Download the appropriate package (above) for your system and type following command to install mod_spdy:
dpkg -i mod-spdy-*.debAbove command will also add the Google repository to your system so that you can remain updated with mod_spdy release.
apt-get -f install
Finally, restart your Apache server using command: /etc/init.d/apache2 restart
You can find the mod_spdy configuration at /etc/apache2/mods-available/spdy.conf, there is nothing much you need to change in this configuration file, the default setting is good enough.
Testing mod_spdy:
Open up the latest version of chrome browser and load the special Chrome URL
chrome://net-internals/#spdyIn the second tab, try to load your website using https:// protocol
Just after the page loads, look at the chrome://net-internals/#spdy tab. Your server's domain should be listed in the table under the "SPDY sessions" heading.
Also, worth looking at : Configure Apache HTTP server with mod-pagespeed for high performance
0 comments:
Post a Comment