PageSpeed Module

Build ngx_pagespeed From Source

To install our dependencies on RedHat, CentOS, and Fedora, run:
  sudo yum install gcc-c++ pcre-dev pcre-devel zlib-devel make
On Ubuntu or Debian, run:
  sudo apt-get install build-essential zlib1g-dev libpcre3 libpcre3-dev
Then download ngx_pagespeed:
  cd ~
  wget https://github.com/pagespeed/ngx_pagespeed/archive/release-1.7.30.4-beta.zip
  unzip release-1.7.30.4-beta.zip
  cd ngx_pagespeed-release-1.7.30.4-beta/
  wget https://dl.google.com/dl/page-speed/psol/1.7.30.4.tar.gz
  tar -xzvf 1.7.30.4.tar.gz # expands to psol/
Download and build nginx with support for pagespeed:
  cd ~
  # check http://nginx.org/en/download.html for the latest version
  wget http://nginx.org/download/nginx-1.4.4.tar.gz
  tar -xvzf nginx-1.4.4.tar.gz
  cd nginx-1.4.4/
  ./configure --add-module=$HOME/ngx_pagespeed-release-1.7.30.4-beta
  make
  sudo make install
If this doesn't work for you, please let us know. You can post on our mailing list or file a bug.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.