Comments on Using ngx_pagespeed With nginx On Debian Wheezy

Google has just released PageSpeed Beta for nginx, the nginx equivalent of mod_pagespeed for Apache. This module applies web performance best practices to pages, and associated assets (CSS, JavaScript, images) and therefore speeds up your web site and reduces load times. This tutorial explains how to use PageSpeed with nginx on Debian Wheezy.

4 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: YoLaBingo

Excellent walk-through - thank you!

By: YoLaBingo

Actually, I had to deviate a little to get this working. Specifically, I had to download both the mod_PageSpeed  sources as well as PSOL sources, and grabbed release packages so they matched. Following the instructions at https://github.com/pagespeed/ngx_pagespeed/archive/v1.7.30.1-beta.tar.gz

So instead of 

 git clone https://github.com/pagespeed/ngx_pagespeed.git

I did

wget https://github.com/pagespeed/ngx_pagespeed/archive/release-1.7.30.1-beta.zip
unzip release-1.7.30.1-beta.zip
cd ngx_pagespeed-release-1.7.30.1-beta/
wget https://dl.google.com/dl/page-speed/psol/1.7.30.1.tar.gz
tar -xzvf 1.7.30.1.tar.gz # expands to psol/

and then was able to build nginx package.

By: voku1987

THX! 

 PS: here you can find the google-howto -> https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source

By: Neo2SHYAlien

Also to compile 1.7.30 beta module will be necessary to rename pagespeed folder or change the path to module in rule file.