Learn about Centmin Mod LEMP Stack today
Register Now

Sysadmin Testing Pagespeed / FasCGI are working

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

  1. DaB

    DaB Member

    32
    3
    8
    Aug 10, 2016
    Ratings:
    +4
    Local Time:
    12:18 PM
    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

    45,441
    10,312
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,994
    Local Time:
    10:18 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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

    32
    3
    8
    Aug 10, 2016
    Ratings:
    +4
    Local Time:
    12:18 PM
    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