Welcome to Centmin Mod Community
Become a Member

Possible VHost / PageSpeed Bug?

Discussion in 'Bug Reports' started by RB1, Jan 18, 2017.

  1. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    10:44 PM
    Nginx 1.21.x
    MariaDB 10.1.x
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.11.8
    • PHP Version Installed: 7.0.14
    • MariaDB MySQL Version Installed: 10.1.20
    • When was last time updated Centmin Mod code base ? : Today, fully up to date

    I just noticed that on one of my domains with the vhost config containing:
    Pages still seem to be cached somehow. If I make changes to the page they are not immediately shown. Clearing browser cache and reloading doesn't update it, but the instant I run:
    Code (Text):
    rm -rf /var/ngx_pagespeed_cache/*
    and reload, the new changes show.
    What's weird is that there are no "X-Page-Speed" headers.

    Not really a bug, just something dumb on my part. You can delete this thread or move it elsewhere :p

     
    Last edited: Jan 19, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    3:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    is it http or https vhost ? do both exist ? maybe you edited http one but using https one ?
     
  3. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    10:44 PM
    Nginx 1.21.x
    MariaDB 10.1.x
    It's a HTTPs vhost. HTTP vhost exists but renamed example.com.conf-disabled
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    3:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    any reason you added pagespeed off; in vhost instead of global command = pscontrol off ?

    if you do pscontrol off does it cache ?
     
  5. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    10:44 PM
    Nginx 1.21.x
    MariaDB 10.1.x
    Because I have two other domains I would like to use PageSpeed on :)
    I will try global pscontrol off when I have access to my server in a couple hours

    Edit: Hmm...I think it's just something with PHP caching
    After restarting PHP-FPM it shows the changes...
    I still have a lot left to learn :bookworm:

    Edit 2: I think what happened is that I have a habit of always running "nprestart" after deleting PageSpeed cache which led me to believe it was PageSpeed causing the issue. I ran each command separately "service nginx restart", "service php-fpm restart", and deleted PageSpeed cache and it led me to the conclusion that it's only PHP-FPM that needs to be restarted.
     
    Last edited: Jan 19, 2017