Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Port of Google's mod_pagespeed for NGINX

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 libs
Octocat-spinner-32 README
Octocat-spinner-32 config
Octocat-spinner-32 ngx_http_instaweb_module.cpp
Octocat-spinner-32 ngx_http_instaweb_module.h
Octocat-spinner-32 ngx_message_handler.cpp
Octocat-spinner-32 ngx_message_handler.h
README
ngx_instaweb module
-------------------

This module is a very experimental port of Google's mod_pagespeed for Apache
to NGINX

Right now it compiles and uses a test filter called
AttrValuesSaverFilter, which saves all the tag attributes
found in the html code


INSTALLATION
------------

1. Download and Compile mod_pagespeed :

http://code.google.com/p/modpagespeed/wiki/HowToBuild

The config script for this module expects to find mod_pagespeed
in $HOME and mod_pagespeed built in Release mode

If this is not the case, change PAGESPEED_ROOT and PAGESPEED_BUILDMODE
in ngx_instaweb/config


2. Build NGINX with ngx_instaweb module

   cd nginx
   ./configure --add-module=/path/to/ngx_instaweb/ --with-debug

   make && make install


USAGE
-----
The only directive provided is
instaweb <on/off>

you can tail the http_debug log to see the AttrValuesSaverFilter in action.


COPYRIGHT
--------

Copyright (c) 2010, 2011 CloudFlare, Inc. (http://www.cloudflare.com)
Copyright (c) 2010, 2011 Matthieu Tourne <matthieu.tourne@gmail.com>
Something went wrong with that request. Please try again.