Welcome to Centmin Mod Community
Register Now

Nginx PageSpeed Nginx PageSpeed 1.13.35.2-beta released

Discussion in 'Install & Upgrades or Pre-Install Questions' started by eva2000, Jan 12, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,108
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,643
    Local Time:
    12:13 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ngx_pagespeed 1.13.35.2-beta has been released. Read below for instructions for updating your Centmin Mod Nginx's ngx_pagespeed module integration. Or read initial ngx_pagespeed install instructions here.

    Latest centmin mod 123.08stable and 123.09beta01 by default now disable ngx_pagespeed module and remove it's integration out of the box unless you specifically enable it in 123.09beta01 builds via NGINX_PAGESPEED=y.

    The centmin mod 123.09beta01 is only branch that now supports ngx_pagespeed 1.13+ branch versions so if you need to enable ngx_pagespeed 1.13, you need to switch and upgrade to latest 123.09beta01 beta via centmin.sh menu option 23 sub menu option 2 or 3.

    Summary



    Basic summary is you have 2 options going forth:

    Option 1

    You actively use ngx_pagespeed and require updating ngx_pagespeed - then you update or switch to Centmin Mod 123.09beta01 branch as 123.08stable doesn't support ngx_pagespeed 1.10+ branch. Once you switch to 123.09beta01 branch confirm centmin.sh has 1.13.35.2 listed for Nginx Pagespeed variables with command
    Code (Text):
    grep '1.13.35.2' /usr/local/src/centminmod/centmin.sh
    

    and if it doesn't report 1.13.35.2+ versions, use centmin.sh menu option 23 submenu option 2 to update your 123.09beta01 code. Then set in /etc/centminmod/custom_config.inc persistent config file you create or already created and set:
    Code (Text):
    NGINX_PAGESPEED=y
    NGXDYNAMIC_NGXPAGESPEED='y'
    

    and then recompile lastest Nginx version 1.13.8 or higher version via centmin.sh menu option 4. Centmin Mod 123.09beta01 change log is here.

    Option 2

    You do not use ngx_pagespeed and want to disable it - then you update to latest Centmin Mod 123.09beta01 branch or update to 123.08stable code via centmin.sh menu option 23 and just then recompile lastest Nginx version 1.13.8 and higher version via centmin.sh menu option 4 (which already has NGINX_PAGESPEED=n set out of box)

    Announcement



    From PageSpeed Release Notess

    How to Update ngx_pagespeed



    Best way is to also keep your Centmin Mod code updated as outlined at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS via centmin.sh menu option 23 if possible then you won't need to play with changing version numbers if I already updated the code for the new versions. However, if I have not updated the versions, you can do that yourself using instructions below.

    Both 123.08stable and 123.09beta01 now disable ngx_pagespeed by default, to enable set in /etc/centminmod/custom_config.inc persistent config file you create or already created and set:
    Code (Text):
    NGINX_PAGESPEED=y

    and then recompile Nginx 1.13.8 or higher via centmin.sh menu option 4

    Note that 123.08stable ngx_pagespeed support is disabled by default for newer installs due to Nginx 1.9.11+ compatibility issues and ngx_pagespeed 1.10+ or 1.11+ branch is not supported in 123.08stable, so please update to Centmin Mod 123.09beta01 and ngx_pagespeed 1.13 branch

    For 123.09beta01
    Code (Text):
    NGXPGSPEED_VER='1.13.35.2-beta'
    NGINX_PAGESPEEDPSOL_VER='1.13.35.2'
    


    For 123.08stable and nginx versions 1.9.10 and below, update to 123.09beta01 first then added version variables in /etc/centminmod/custom_config.inc persistent config file

    For 123.09beta01 and nginx versions 1.9.11+ and higher, change variables in /etc/centminmod/custom_config.inc persistent config file

    to
    Code (Text):
    NGXPGSPEED_VER='1.13.35.2-beta'
    NGINX_PAGESPEEDPSOL_VER='1.13.35.2'
    


    then recompile nginx via centmin.sh menu option 4 with Nginx version 1.13.8 or higher if using Centmin Mod 123.09beta01

    check that ngx_pagespeed updated version was compiled via nginx -V command

    Switching to 123.09beta01 branch



    Switching to 123.09beta01 branch is easy via centmin.sh menu option 23 submenu option 1 first then submenu option 3

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,108
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,643
    Local Time:
    12:13 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Also according to @bassie ngx_pagespeed github repo changed from Google to Apache owned so the nginx configure line's ngx_pagespeed directory changed too Nginx - Ngx_pagespeed < Incubator-pagespeed-ngx

     
  3. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,108
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,643
    Local Time:
    12:13 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. Jon Snow

    Jon Snow Active Member

    766
    157
    43
    Jun 30, 2017
    Ratings:
    +225
    Local Time:
    11:13 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    Do you think this will affect the future of pagespeed for nginx in any negative way?
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,142
    12,108
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,643
    Local Time:
    12:13 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    no idea :)

    from Google Groups

    Apache Incubator