Want to subscribe to topics you're interested in?
Become a Member

Sysadmin Testing Pagespeed / FasCGI are working

Discussion in 'System Administration' started by DaB, Sep 23, 2020.

  1. DaB

    DaB Member

    45
    5
    8
    Aug 10, 2016
    Ratings:
    +6
    Local Time:
    11:05 AM
    Current
    Current
    I have enabled the Pagespeed modules and FastCGI this moring.


    How do I test they are working?
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,911
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    9:05 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    PHP runs via PHP-FPM fastcgi so if you can load PHP pages, then fastcgi and thus PHP-FPM are working.

    As to ngx_pagespeed if you followed install, enabling guides at Nginx PageSpeed - CentminMod.com LEMP Nginx web stack for CentOS, then you should be able to:
    1. visually inspect your site's headers for X-Page-Speed header via curl or in web browser developer tools network/header tab. See Nginx PageSpeed - CentminMod.com LEMP Nginx web stack for CentOS
    2. and enable the ngx_pagespeed admin stats console pages outlined in that guide at Nginx PageSpeed - CentminMod.com LEMP Nginx web stack for CentOS and also outlined in ngx_pagespeed troubleshooting thread at Nginx PageSpeed - Nginx Pagespeed Troubleshooting steps and see your ngx_pagespeed console message and stats
    Usually between the official Centmin Mod Nginx PageSpeed page at Nginx PageSpeed - CentminMod.com LEMP Nginx web stack for CentOS and ngx_pagespeed troubleshooting thread at Nginx PageSpeed - Nginx Pagespeed Troubleshooting steps, you should have all the info needed to install, configure, tweak and monitor your ngx_pagespeed usage.

    There's also a sticky thread guide at Nginx - Optimizing Your Website with the Google PageSpeed Dynamic Module for NGINX Plus which covers as much too.
     
  3. DaB

    DaB Member

    45
    5
    8
    Aug 10, 2016
    Ratings:
    +6
    Local Time:
    11:05 AM
    Current
    Current
    Thaks for the reply.

    Curl returns this......

    Code:
    HTTP/1.1 200 OK
    Date: Wed, 23 Sep 2020 22:59:06 GMT
    Content-Type: text/html; charset=utf-8
    Content-Length: 4515
    Last-Modified: Mon, 14 Sep 2020 14:28:41 GMT
    Connection: keep-alive
    Vary: Accept-Encoding
    ETag: "5f5f7e19-11a3"
    Server: nginx centminmod
    X-Powered-By: centminmod
    Accept-Ranges: bytes