Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Port of Google's mod_pagespeed for NGINX
C++ C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
libs
README
config
ngx_http_instaweb_module.cpp
ngx_http_instaweb_module.h
ngx_message_handler.cpp
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.