Learn about Centmin Mod LEMP Stack today
Register Now

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

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    12:04 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
  2. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    8:04 PM
    Does that page spit out errors to any log file that I can check?
     
  3. eva2000

    eva2000 Administrator Staff Member

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    12:04 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    unfortunately not, all logging is done in memory
     
  4. eva2000

    eva2000 Administrator Staff Member

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    12:04 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
  5. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    8:04 PM
    I am not sure what else to try. Something just seems off with how its configured but I don't see errors anywhere. :confused:
     
  6. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    8:04 PM
    I assume you have this working on a server running SSL and SPDY with the latest pagespeed? I am going to fire up a fresh droplet and give it a go.
     
  7. eva2000

    eva2000 Administrator Staff Member

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    12:04 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
  8. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    8:04 PM
  9. eva2000

    eva2000 Administrator Staff Member

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    12:04 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    yeah my Wordpress blog is running Nginx 1.7.1 + ngx_pagespeed 1.8.31-2 beta and Google SPDY/3.1 https://blog.centminmod.com with everything fine besides lazy loading image filter being semi broken since 1.8.31-2 beta update

    will do :)
     
  10. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    8:04 PM
    Ok so I made something happen... nothing works when you go to /pagespeed_console but looking at the pagespeedadmin.conf settings I tried
    ngx_pagespeed_statistics and it spit out this: Screen Shot 2014-05-29 at 6.36.28 AM.png
     
  11. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    8:04 PM
    and the messages one works to. You just have to call them individually. pagespeed_console is broken.

    Any idea on what this means:

    Code:
    [Thu, 29 May 2014 11:36:39 GMT] [Info] [3296] Cannot fetch url 'https://www.aspiescentral.com/js/xengallery/min/media_lightbox.js?_v=3bc78865': as https is not supported
    [Thu, 29 May 2014 11:36:39 GMT] [Info] [3296] Cannot fetch url 'https://www.aspiescentral.com/js/xenforo/bb_code_edit.js?_v=ed9fc917': as https is not supported
    [Thu, 29 May 2014 11:36:39 GMT] [Info] [3296] Cannot fetch url 'https://www.aspiescentral.com/js/xengallery/min/media_user_tag.js?_v=3bc78865': as https is not supported
    [Thu, 29 May 2014 11:36:39 GMT] [Info] [3296] Cannot fetch url 'https://www.aspiescentral.com/js/xengallery/min/gallery_bb_code.js?_v=3bc78865': as https is not supported
    [Thu, 29 May 2014 11:36:39 GMT] [Info] [3296] Cannot fetch url 'https://www.aspiescentral.com/js/xengallery/min/media_view_navigation.js?_v=3bc78865': as https is not supported
    [Thu, 29 May 2014 11:36:39 GMT] [Info] [3296] Cannot fetch url 'https://www.aspiescentral.com/js/xengallery/min/media_view.js?_v=3bc78865': as https is not supported
    [Thu, 29 May 2014 11:36:39 GMT] [Info] [3296] Cannot fetch url 'https://www.aspiescentral.com/js/xengallery/min/media_share.js?_v=3bc78865': as https is not supported
     
  12. eva2000

    eva2000 Administrator Staff Member

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    12:04 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    yup it's working now.. pagespeed_console was blank for me at first after a while it shows the stats - i think it takes time to gather to produce the charts

    pagespeed_console.png
     
  13. eva2000

    eva2000 Administrator Staff Member

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    12:04 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    ah if you're using https/SSL need additional settings which are not found in my forum's posted pagespeed.conf https://developers.google.com/speed/pagespeed/module/https_support

    For example if I had https/SSL enabled on the forums I need to add to pagespeed.conf this line. Changing your paths appropriately for your domain of course.

    Code:
    pagespeed LoadFromFile "https://community.centminmod.com" "/home/nginx/domains/community.centminmod.com/public";
    updated pagespeed.conf thread at http://community.centminmod.com/threads/this-forums-pagespeed-conf.62/ with same info for others :)
     
  14. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    8:04 PM
    Wow that changes everything. Thanks! So much more is being rewritten now that wasn't touched before.
     
  15. eva2000

    eva2000 Administrator Staff Member

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    12:04 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Last edited: May 29, 2014
  16. eva2000

    eva2000 Administrator Staff Member

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    12:04 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    A before and after gtmetrix.com scan would be interesting to see :)
     
  17. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    8:04 PM
    I will do that as soon as I ensure everything is setup perfectly with pagespeed. My Google Font rewrite still isn't working:

    Code:
    [Thu, 29 May 2014 12:21:17 GMT] [Info] [3521] No permission to rewrite 'https://fonts.googleapis.com/css?family=Roboto:400,700'
    Setting:

    Screen Shot 2014-05-29 at 7.23.34 AM.png
     
  18. eva2000

    eva2000 Administrator Staff Member

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    12:04 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    that's correct pagespeed only rewrites google font css elements not the actual font itself as it's hosted on a 3rd party url. So that entry is correct
     
  19. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    8:04 PM
    No before yet but this is current

    Screen Shot 2014-05-29 at 8.03.20 AM.png Screen Shot 2014-05-29 at 8.03.26 AM.png Screen Shot 2014-05-29 at 8.04.30 AM.png
     
  20. eva2000

    eva2000 Administrator Staff Member

    45,652
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    12:04 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Nice, definitely higher scoring than default Xenforo theme at least :D