Want more timely Centmin Mod News Updates?
Become a Member

Nginx PageSpeed Nginx Pagespeed Troubleshooting issues and errors

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by BamaStangGuy, May 25, 2014.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    54,535
    12,219
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,788
    Local Time:
    9:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    is it even pagespeed related ?

    you could try disabling it for admin within nginx vhost config, something like

    Code:
      location ~ ^/(admin.php) {
            pagespeed off;
            include /usr/local/nginx/conf/php.conf;
            allow 127.0.0.1;
            allow yourip;
            deny all;
    }
    remove allow, deny part if you do not ip restrict the admin.php area

     
    Last edited: May 30, 2014
  2. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    5:53 AM
    It isn't because it happens on a forum of mine that isn't using pagespeed. Now I just got to figure out what add-on, past or present, is causing it.
     
  3. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:53 PM
    Mainline
    10.2
    I got it now, looks like Defer JS addon, also applied to admin page :(
     
  4. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    5:53 AM
    Time for a bug report.
     
  5. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:53 PM
    Mainline
    10.2
    Didn't notice this problem since defer js addon installed, I do not edit templates directly :)
    I'm using Template Modification in all my edits (y)
     
  6. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:53 PM
    Mainline
    10.2
    In relation to pagespeed image lazy loading, it works now on my site, demo.
    Enabling SSL3 and Cloudflare cipher help? :D

    But doesn't work on 1st time visitor :(
     
    Last edited: Jul 7, 2014
  7. eva2000

    eva2000 Administrator Staff Member

    54,535
    12,219
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,788
    Local Time:
    9:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    wow weird indeed !

    yes first time won't work as intended and loads all images not just above fold as the beacon needs a few page loads to figure out which images are above fold :)

    yay !
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,535
    12,219
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,788
    Local Time:
    9:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Well since forum updated to Cloudflare RC4 Kill patched OpenSSL, ngx_pagespeed lazy loading works more frequently but still takes a few page loads to work out which images are above and below fold for loading (which is normal)

    This thread has 76 requests and 1.8MB in size https://community.centminmod.com/threads/centos-7-0-install-on-virtualbox-guest-server.730/ without ngx_pagesped lazy_load and other optimisations. After ngx_pagespeed optimisation only 17 requests 267kb in size !

    Code:
    image_file_count_reduction:                                        0
    image_rewrites:                                                  125
    image_resized_using_rendered_dimensions:                           0
    image_norewrites_high_resolution:                                  0
    image_rewrites_dropped_intentionally:                             21
    image_rewrites_dropped_decode_failure:                             0
    image_rewrites_dropped_mime_type_unknown:                          0
    image_rewrites_dropped_server_write_fail:                          0
    image_rewrites_dropped_nosaving_resize:                            0
    image_rewrites_dropped_nosaving_noresize:                         21
    image_rewrites_dropped_due_to_load:                                0
    image_rewrites_squashing_for_mobile_screen:                        0
    image_rewrite_total_bytes_saved:                             1386508
    image_rewrite_total_original_bytes:                          3677030
    image_rewrite_uses:                                              854
    image_inline:                                                    740
    image_webp_rewrites:                                              68
    image_rewrite_latency_total_ms:                                45366
    image_ongoing_rewrites:                                            0
    image_webp_conversion_gif_timeouts:                                0
    image_webp_conversion_png_timeouts:                                0
    image_webp_conversion_jpeg_timeouts:                               0
    image_webp_alpha_timeouts:                                         0
    image_webp_opaque_timeouts:                                        0
    ngx_pagespeed_lazyload_optimised.png
     
  9. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:53 PM
    Mainline
    10.2
    Yes, same here.
    After applying Cloudflare Cipher and patch, seems lazy Load work 80% of the time.
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,535
    12,219
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,788
    Local Time:
    9:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    i think it works as expected as first few page loads is ngx_pagespeed beacon learning time :)
     
  11. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:53 PM
    Mainline
    10.2
    Lucky me, I insisted you to try Cloudflare's Cipher and patch :D
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,535
    12,219
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,788
    Local Time:
    9:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah was wondering if it's the patch itself or the fact that with Cloudflare ssl protocols it allowed SSLv3 while we didn't have SSLv3 enabled ?
     
  13. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:53 PM
    Mainline
    10.2
    Ahahaah, hmmm maybe.
    I can't answer that :)
     
  14. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:53 PM
    Mainline
    10.2
    Did you submitted a discussion for this @ ngx_pagespeed google group?
    Might be better if you also update it that it works fine now with SSL3 enabled :)
     
  15. eva2000

    eva2000 Administrator Staff Member

    54,535
    12,219
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,788
    Local Time:
    9:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    nah i haven't yet.. will do
     
  16. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:53 PM
    Mainline
    10.2
  17. eva2000

    eva2000 Administrator Staff Member

    54,535
    12,219
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,788
    Local Time:
    9:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    darn have to pay again to download the BD Cache update heh