Learn about Centmin Mod LEMP Stack today
Become a Member

Nginx PageSpeed Admin Stats Console Revamp in ngx_pagespeed 1.9.32-1 beta!

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

  1. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    4:23 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    It seems ngx_pagespeed 1.9.32-1 beta has revamped the Admin Stats Console pages and lots of useful statistics and charts and even realtime graphs are available now !.

    Centmin Mod Nginx web server has ngx_pagespeed integrated by default. For Centmin Mod Nginx users who have ngx_pagespeed enabled via pscontrol on command (disabled by default), you can enable Nginx PageSpeed Admin Console via instructions here.

    Full screenshot outline of the new ngx_pagespeed 1.9.32-beta Admin stats console accessed at yourhostname.domain.com/pagespeed_global_admin/

    Main Pagespeed Admin statistics page

    ngx_pagespeed_adminstats_00.png

    Main Pagespeed configuration outline page showing which pagespeed filters are enabled and config settings used

    ngx_pagespeed_adminstats_01.png

    Histogram stats clicking check box will generate a histogram of the checked statistic at bottom of page

    ngx_pagespeed_adminstats_02.png

    Pagespeed Caches page including memcached stats if you enabled memcached in pagespeed.conf

    ngx_pagespeed_adminstats_03.png

    Pagespeed Purge cache page - yes you can purge individual urls from cache or purge entire cache !

    ngx_pagespeed_adminstats_04.png

    Pagespeed Console showing failed rewritten/optimised resources - failures are normal for most part as ngx_pagespeed can not optimise every page element or resource

    ngx_pagespeed_adminstats_05.png


    ngx_pagespeed_adminstats_06.png
    ngx_pagespeed_adminstats_07.png

    Pagespeed Message History - main log for troubleshooting and diagnostics. Log is in memory only so no file on disk. How long the log can hold depends on the /usr/local/nginx/conf/pagespeedadmin.conf set MessageBufferSize which is set to 100,000 lines and disabled by default, need to enable it by removing front hash # from 3rd line below.

    Code:
    #######################################################
    # Set it to 0 if you want to disable this feature.
    # pagespeed MessageBufferSize 100000;
    
    No permissions to rewrite is normal as remote resources can not be optimised nor can pagespeed disallowed urls which I have configured in /usr/local/nginx/conf/pagespeed.conf

    i.e. from my pagespeed.conf

    Code:
    pagespeed Disallow */js/jquery/jquery-1.11.0.min.js*;
    pagespeed Disallow */js/xenforo/xenforo.js*;

    ngx_pagespeed_adminstats_08.png

    Pagespeed Graphs - totally new feature, first time laying my eyes on these myself ! Beautiful and useful statistics !

    Per app cache stats

    ngx_pagespeed_adminstats_09.png

    Per type cache stats

    ngx_pagespeed_adminstats_10.png
    ngx_pagespeed_adminstats_11.png

    Pagespeed In Place Resource Optimisation status

    ngx_pagespeed_adminstats_12.png

    Pagespeed Image rewriting statistics - saving 28% in image bandwidth from on the fly optimised images !

    ngx_pagespeed_adminstats_13.png

    Pagespeed Realtime Graphs - just awesome :D

    ngx_pagespeed_adminstats_14.png ngx_pagespeed_adminstats_15.png
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    4:23 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    wonder if percentage calculations are a bit off ?

    9,527,644 / 26,759,453 = 35.6% not 25.8% ? or total original bytes needs to be renamed ?

    ngx_pagspeed_adminstats_graphs_imagerewrites_00.png
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    4:23 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    I hope folks playing with ngx_pagespeed on Centmin Mod Nginx server, are enabling their admin consoles to view stats and troubleshoot ngx_pagespeed. Here's a bump for this thread :)
     
  4. BobbyWibowo

    BobbyWibowo Active Member

    197
    42
    28
    Jul 30, 2015
    Indonesia
    Ratings:
    +71
    Local Time:
    1:23 AM
    1.17.x
    10.3.x
    Yes, I've always been using the admin console since the moment I enabled PageSpeed ;)
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    4:23 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    indeed still using it myself on ngx_pagespeed enabled sites with 123.09beta01 :D
     
  6. truyencuatoi

    truyencuatoi New Member

    8
    1
    3
    Apr 19, 2016
    Ratings:
    +1
    Local Time:
    1:23 AM
    1.9.14
    10
    I have followed you, but still is not right you can help me :(
     
    Last edited: Jul 1, 2016
  7. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    4:23 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+