Welcome to Centmin Mod Community
Become a Member

Nginx PageSpeed Pagespeed Caching with Cloudflare

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by anthony parsons, Jul 12, 2018.

  1. anthony parsons

    anthony parsons Premium Member Premium Member

    46
    12
    8
    Feb 12, 2017
    Ratings:
    +15
    Local Time:
    6:29 AM
    Current yum stable
    10.1
    Is there any requirement to enable file caching for PageSpeed where cloudflare is the cache that users access for their static content?

    My understanding is that PageSpeed caches by default and manages itself as things change vs a custom file cache requirement???
     
  2. eva2000

    eva2000 Administrator Staff Member

    35,099
    7,748
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,948
    Local Time:
    6:29 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    You don't need to use ngx_pagespeed when using Cloudflare :)
     
  3. anthony parsons

    anthony parsons Premium Member Premium Member

    46
    12
    8
    Feb 12, 2017
    Ratings:
    +15
    Local Time:
    6:29 AM
    Current yum stable
    10.1
    Is there any benefit or loss in using both? Negligible? Or just better to turn it off?
     
  4. eva2000

    eva2000 Administrator Staff Member

    35,099
    7,748
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,948
    Local Time:
    6:29 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Probably a bit slower as ngx_pagespeed needs time to process and optimise css/js and images of which Cloudflare already does so
     
    • Like Like x 1
  5. anthony parsons

    anthony parsons Premium Member Premium Member

    46
    12
    8
    Feb 12, 2017
    Ratings:
    +15
    Local Time:
    6:29 AM
    Current yum stable
    10.1
    Hmmm... you're right. Testing from Sydney to LA, where hosted, was an F with pagespeed, is now a C without it, just cloudflare doing its thing. Local LA is all A's, obviously... being local and all.

    So yer... page response is just a tad faster without pagespeed with cloudflare. Learn something new every day.
     
..