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

Wordpress Cache-Enabler Plugin Weird issue with Cache Enabler

Discussion in 'Blogs & CMS usage' started by Jay Chen, Sep 18, 2018.

  1. Jay Chen

    Jay Chen Active Member

    187
    60
    28
    Sep 10, 2017
    Ratings:
    +117
    Local Time:
    7:03 PM
    I am going to try other cache, do I need to modify ant config on CMM side? I know Cache Enabler has some config, not sure if same is needed for other cache plugin, primarily Hyper Cache.

     
  2. ndha

    ndha Member

    83
    10
    8
    Sep 28, 2014
    Ratings:
    +29
    Local Time:
    6:03 AM
    1.27
    10.6
    Yeah,, i already reported in here when cache enabler had problem with mobile version since they update it..
    now i switch to wp fastest cache problem gone..
     
  3. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:03 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Yes see Wordpress - Disable Or Remove KeyCDN Cache Enabler

    so same problem you reported at Wordpress - WP Cacher Enabler Plugin by KeyCDN folks, don't think you replied to my troubleshooting questions there.
     
  4. Jay Chen

    Jay Chen Active Member

    187
    60
    28
    Sep 10, 2017
    Ratings:
    +117
    Local Time:
    7:03 PM
    Initially I thought this is a mobile issue, but I was able to reproduce the same cache issue on desktop as well. At this point, I am going to switch to a different cache plugin and hopefully this willl resolve the probekem.
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:03 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    FYI, been testing this myself for Cache Enabler 1.3.1 with/without mobile cache exclusions and desktop and mobile update fine for me when editing wordpress blog posts.
     
  6. Jay Chen

    Jay Chen Active Member

    187
    60
    28
    Sep 10, 2017
    Ratings:
    +117
    Local Time:
    7:03 PM
    I am not editing post, I have a lot of posts scheduled, when one post is published, cache enabler should have invalidated the home page cache, but for some reasons, it is not.
     
  7. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:03 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    But does editing posts deal with cache invalidation properly for your ?

    I haven't tested scheduled posts so will do that.

    FYI, Cache Enabler older 1.2.3 had some fixes for scheduled posts keycdn/cache-enabler though latest is 1.3.1

     
  8. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:03 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Just tested and scheduled posts work fine here with Cache Enabler 1.3.1 in both logged in and logged out visitors in Chrome and Canary web browsers on desktop

    edit: ok Chrome on mobile seems to not properly show scheduled post updates but Canary on mobile did

    edit2: ok it's showing up when i scheduled the time properly now had it set UTC time instead of GMT +10 my time so mobile shows up scheduled posts
     
    Last edited: Sep 23, 2018
  9. Jay Chen

    Jay Chen Active Member

    187
    60
    28
    Sep 10, 2017
    Ratings:
    +117
    Local Time:
    7:03 PM
    I haven't try it yet, I have removed the plugin.
    I will reinstall the plugin and try it out sometime next week.

    Now I am playing with hyper cache, I like the option that invalidates the most recent x posts when post is published. This way next and previous buttons are in sync.
     
  10. Jay Chen

    Jay Chen Active Member

    187
    60
    28
    Sep 10, 2017
    Ratings:
    +117
    Local Time:
    7:03 PM
    After close monitoring hypercache for the past few days, I realized that hypercache is having the same issue with cache enabler, which is not invalidating cache when a new scheduled post is published.

    This led me to think maybe the problem is on my end.

    What is interesting is that the timestamp on the cached page is
    Code:
    <!-- hyper cache 2018-10-06 03:55:14 -->
    but when I checked CMM, the time is correct, which is also the same as what Wordpress show under General -> Timezone
    Code:
    [11:54][root@newssdnodes-85656 ~]# date
    Sat Oct  6 11:55:43 EDT 2018
    I will disable the plugin for now until I figured out a solution. Sorry for misleading your guys.
     
  11. Jay Chen

    Jay Chen Active Member

    187
    60
    28
    Sep 10, 2017
    Ratings:
    +117
    Local Time:
    7:03 PM
    I am back with an update:

    So the problem is caused by a cloudflare page rule, it is set to cache everything, I didn't know cloudflare cache html as well.

    Once I turn this rule off, the problem goes away. I have been testing and monitoring for over a week now, everything seems to be working fine. With that being said, I will keep using Hyper Cache, because it option to invalidate the most recent X posts.

    Thank you all for helping, especially eva.
     
    Last edited: Oct 18, 2018
  12. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:03 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+