Welcome to Centmin Mod Community
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

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    7:50 AM
    Nginx 1.13.x
    MariaDB 5.5
    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'
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    7:50 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    7:50 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    7:50 AM
    Nginx 1.13.x
    MariaDB 5.5
    Official ngx_pagespeed mailing group discussion post at Google Groups

     
  5. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    7:50 AM
    Nginx 1.13.x
    MariaDB 5.5
  6. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    7:50 AM
    Nginx 1.13.x
    MariaDB 5.5
    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