Welcome to Centmin Mod Community
Register Now

Nginx PageSpeed Nginx PageSpeed 1.9.32.10

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

  1. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    11:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Nginx PageSpeed 1.9.32.10 has been released PageSpeed Release Notes  |  PageSpeed Module  |  Google Developers :)

    Not much specifically related to our usage for Centmin Mod LEMP stack :)

    Updating is same as previous update process Nginx PageSpeed - Nginx PageSpeed 1.9.32.6-beta release | Centmin Mod Community :D

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    11:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    11:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    9:16 PM
    Mainline
    10.2
    With HTTP/2 I don't know if ngx_pagespeed is really needed :).
     
  5. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    11:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    9:16 PM
    Mainline
    10.2
    Yes with your data tested :)
    With a lot of images only.
    But general site don't have it.
     
  7. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    11:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    reason why ngx_pagespeed helps is it actually reduces size of the html and elements served to visitors as the best optimisation for pagespeed is ultimately reducing size of data served :)
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    4:16 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    Does ngx_pagespeed helps if i use already Cloudflare in front of my server as Cloudflare will get the images and serve them to the users?
     
  9. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    9:16 PM
    Mainline
    10.2
    Yes it will still work.
     
  10. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    11:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
     
  11. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    11:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    ngx_pagespeed 1.9.32.10-beta directory change update



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds. ngx_pagespeed 1.9.32.10-beta changed the directory name within the zip download tarball so Centmin Mod Nginx download, install and upgrade routines need updating to take into account the directory name change Issue with latest stable, nginx install failing. | Centmin Mod Community

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
  12. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    11:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    tested fresh install of 123.08stable on CentOS 6.7 64bit VPS

    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 110.6247 seconds
    Total YUM Time: 54.727807167 seconds
    Total YUM + Source Download Time: 76.7189
    Total Nginx First Time Install Time: 100.4561
    Total PHP First Time Install Time: 125.0548
    Download Zip From Github Time: 4.1233
    Total Time Other eg. source compiles: 222.7071
    Total Centmin Mod Install Time: 524.9370
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 639.6850 seconds
    ---------------------------------------------------------------------------
    Code:
    --------------------------------------------------------
    Check Nginx Version:
    --------------------------------------------------------
    inc/centminfinish.inc: line 49: nginx: command not found
    
    seems still needs work

    Code:
    adding module in ../lua-nginx-module-0.9.16
    checking for LuaJIT library in /usr/local/lib and /usr/local/include/luajit-2.1 (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) ... found
    checking for export symbols by default (-E) ... found
    checking for export symbols by default (--export-all-symbols) ... not found
    checking for SO_PASSCRED ... found
    + ngx_http_lua_module was configured
    adding module in ../lua-upstream-nginx-module-0.03
    + ngx_http_lua_upstream_module was configured
    adding module in ../lua-upstream-cache-nginx-module-0.1.1
    + ngx_http_lua_cache_module was configured
    adding module in ../nginx_upstream_check_module-0.3.0
    checking for ngx_http_upstream_check_module ... found
    + ngx_http_upstream_check_module was configured
    adding module in ../nginx-module-vts
    + ngx_http_vhost_traffic_status_module was configured
    adding module in ../headers-more-nginx-module-0.261
    + ngx_http_headers_more_filter_module was configured
    adding module in ../ngx_pagespeed-release-1.9.32.10-beta
    ./configure: error: no ../ngx_pagespeed-release-1.9.32.10-beta/config was found
    make: *** No rule to make target `build', needed by `default'.  Stop.
    
    real    0m0.001s
    user    0m0.001s
    sys     0m0.000s
    
    strip nginx binary...
    ls: cannot access objs/nginx: No such file or directory
    strip: 'objs/nginx': No such file
    ls: cannot access objs/nginx: No such file or directory
    
    make: *** No rule to make target `install'.  Stop.
    2nd fix added too 2nd fix for ngx_pagespeed 1.9.32.10-beta dir change · centminmod/centminmod@ec218aa · GitHub :D
     
    Last edited: Oct 11, 2015
  13. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    11:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    all working now
    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 120.0252 seconds
    Total YUM Time: 59.400744731 seconds
    Total YUM + Source Download Time: 84.6183
    Total Nginx First Time Install Time: 163.0338
    Total PHP First Time Install Time: 121.8007
    Download Zip From Github Time: 4.1868
    Total Time Other eg. source compiles: 217.6779
    Total Centmin Mod Install Time: 587.1308
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 711.3428 seconds
    ---------------------------------------------------------------------------
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    Warning: RPMDB altered outside of yum.
    --------------------------------------------------------
    Ensure crond & sysstat service are running
    --------------------------------------------------------
    Starting crond: [  OK  ]
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.2.2
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2015 Joel Rosdahl
    
    This program is free software; you can redistribute it and/or modify it under
    the terms of the GNU General Public License as published by the Free Software
    Foundation; either version 3 of the License, or (at your option) any later
    version.
    
    --------------------------------------------------------
    Check Nginx Version:
    --------------------------------------------------------
    nginx version: nginx/1.9.5
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    built with LibreSSL 2.2.3
    TLS SNI support enabled
    configure arguments: --with-ld-opt='-lrt -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m64 -mtune=native -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-c++11-extensions -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_secure_link_module --with-http_realip_module --with-http_geoip_module --with-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --add-module=../openresty-memc-nginx-module-4f6f78f --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.29 --add-module=../echo-nginx-module-0.58 --add-module=../redis2-nginx-module-0.12 --add-module=../ngx_http_redis-0.3.7 --add-module=../lua-nginx-module-0.9.16 --add-module=../lua-upstream-nginx-module-0.03 --add-module=../lua-upstream-cache-nginx-module-0.1.1 --add-module=../nginx_upstream_check_module-0.3.0 --add-module=../nginx-module-vts --add-module=../headers-more-nginx-module-0.261 --with-openssl=../libressl-2.2.3 --with-libatomic --with-threads --with-stream --with-stream_ssl_module --with-pcre=../pcre-8.37 --with-pcre-jit --add-module=../ngx_pagespeed-1.9.32.10-beta
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.4.45 (cli) (built: Oct 11 2015 04:13:40)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
        with Zend OPcache v7.0.5, Copyright (c) 1999-2015, by Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-client-10.0.21-1.el6.x86_64
    MariaDB-common-10.0.21-1.el6.x86_64
    MariaDB-server-10.0.21-1.el6.x86_64
    MariaDB-shared-10.0.21-1.el6.x86_64
    MariaDB-compat-10.0.21-1.el6.x86_64
    MariaDB-devel-10.0.21-1.el6.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.24
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v8.06 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 3.1.0
    
    Copyright (C) 2015 by Jeffrey Fulmer, et al.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    
    --------------------------------------------------------
    Check ngx_pagespeed Control Script:
    http://centminmod.com/nginx_ngx_pagespeed.html
    --------------------------------------------------------
    pscontrol admin
    pscontrol handler
    pscontrol edit
    pscontrol on
    pscontrol off
    pscontrol statson
    pscontrol statsoff
    
    --------------------------------------------------------
    Check mysqlreport version:
    --------------------------------------------------------
    mysqlreport v3.5-maria11 Jul 4 2013
    
    --------------------------------------------------------
    Check NSD Bind Version:
    --------------------------------------------------------
    NSD version 3.2.18
    Written by NLnet Labs.
    
    Copyright (C) 2001-2011 NLnet Labs.  This is free software.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    --------------------------------------------------------
    Check pure-ftpd Version:
    --------------------------------------------------------
    pure-ftpd v1.0.30
    
    --------------------------------------------------------
    Check YUM Repo List
    --------------------------------------------------------
    Loaded plugins: fastestmirror, priorities, security
    Loading mirror speeds from cached hostfile
    * base: repos.redrockhost.com
    * epel: linux.mirrors.es.net
    * extras: mirrors.psychz.net
    * rpmforge: mirror.hmc.edu
    * updates: mirror.keystealth.org
    1605 packages excluded due to repository priority protections
    repo id         repo name                                            status
    base            CentOS-6 - Base                                      4,995+1,580
    epel            Extra Packages for Enterprise Linux 6 - x86_64       8,899+2,874
    extras          CentOS-6 - Extras                                             43
    mariadb         MariaDB                                                     12+5
    rpmforge        RHEL 6 - RPMforge.net - dag                          3,199+1,519
    updates         CentOS-6 - Updates                                       321+116
    vz-base         vz-base                                                        3
    vz-updates      vz-updates                                                   2+6
    repolist: 17,474
    
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    Sun Oct 11 04:16:49 UTC 2015    [UTC]
    Sun Oct 11 14:16:49 AEST 2015   [Australia/Brisbane]
    Sat Oct 10 21:16:49 PDT 2015    [America/Los_Angeles]
    Sat Oct 10 23:16:49 CDT 2015    [America/Chicago]
    Sun Oct 11 00:16:49 EDT 2015    [America/New_York]
    Sun Oct 11 05:16:49 BST 2015    [Europe/London]
    --------------------------------------------------------