Learn about Centmin Mod LEMP Stack today
Register Now

Nginx PageSpeed ngx_pagespeed 1.9.32.4-stable/beta released

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by eva2000, Jun 27, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    8:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Looks like 10 days ago ngx_pagespeed released 1.9.32.4-stable. Confusingly, the release lists both 1.9.32.4-beta and 1.9.32.4-stable for same date ! The download files though are named 1.9.32.4-beta so we'll go with that.

    For current .08 beta 03 the relevant lines are lines 278-279 of centmin.sh that need changing prior to recompiling nginx via centmin.sh menu option 4.

    from
    Code:
    NGXPGSPEED_VER='1.9.32.3-beta'
    NGINX_PAGESPEEDPSOL_VER='1.9.32.3'
    to
    Code:
    NGXPGSPEED_VER='1.9.32.4-beta'
    NGINX_PAGESPEEDPSOL_VER='1.9.32.4'

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    8:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    To update commands for existing Centmin Mod are outlined on official page here and below.

    change to centmin mod install directory, sed replace the version numbers and grep to make sure they were replaced
    Code:
    cmdir
    sed -i 's|1.9.32.3|1.9.32.4|g' centmin.sh
    grep 1.9.32 centmin.sh
    i.e.
    Code:
    grep 1.9.32 centmin.sh 
    NGXPGSPEED_VER='1.9.32.4-beta'
    NGINX_PAGESPEEDPSOL_VER='1.9.32.4'
    then run centmin.sh menu option 4 to recompile Nginx with new version.

    check that ngx_pagespeed-release-1.9.32.4-beta was conmpiled via nginx -V command
    centminmod-update-ngxpagespeed.gif
     
    Last edited: Jun 27, 2015
  3. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    8:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    this forum has been updated to ngx_pagespeed 1.9.32.4-beta now :D

    last 5 logs in /root/centminlogs

    Code:
    ls -lAhrt /root/centminlogs/ | tail -5
    -rw-r--r-- 1 root root 968K Jun 13 01:26 centminmod_1.2.3-eva2000.08_130615-011722_nginx_upgrade.log
    -rw-r--r-- 1 root root 6.9K Jun 26 22:11 centminmod_1.2.3-eva2000.08_260615-221042_git_updatecur_branch.log
    -rw-r--r-- 1 root root   44 Jun 26 22:14 centminmod_libresslinstalltime_260615-221211.log
    -rw-r--r-- 1 root root 1.2K Jun 26 22:14 gcc_native.log
    -rw-r--r-- 1 root root 1.1M Jun 26 22:16 centminmod_1.2.3-eva2000.08_260615-221211_nginx_upgrade.log
    nginx upgrade time

    Code:
    tail -1 /root/centminlogs/centminmod_1.2.3-eva2000.08_260615-221211_nginx_upgrade.log
    Total Nginx Upgrade Time: 231.408475121 seconds
    If you enable ngx_pagespeed via pscontrol see info on official site and curl the headers, you'll see 1.9.32.4-7251 updated version X-Page-Speed: 1.9.32.4-7251

    Code:
    pscontrol on
    Code:
    curl -I localhost
    HTTP/1.1 200 OK
    Server: nginx centminmod
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Vary: Accept-Encoding
    Date: Fri, 26 Jun 2015 22:25:00 GMT
    X-Page-Speed: 1.9.32.4-7251
    Cache-Control: max-age=0, no-cache
    turn off ngx_pagespeed again
    Code:
    pscontrol off
     
    Last edited: Jun 27, 2015
  4. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    8:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Official ngx_pagespeed mailing group discussion post at Google Groups

     
  5. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    8:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    8:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ngx_pagespeed admin console page

    ngx_pagespeed_adminconsole_console_00.png ngx_pagespeed_adminconsole_console_01.png ngx_pagespeed_adminconsole_console_02.png ngx_pagespeed_adminconsole_console_03.png