• expire cache set to 0 ..but cache keeps getting deleted. Not sure why, I want it set to never expire.

Viewing 15 replies - 1 through 15 (of 20 total)
  • Is it being deleted after you update a page or a post? You can change the clear cache option on the sidebar to “Page Specific” instead of “Completely”.

    Thread Starter jeff2013

    (@jeff2013)

    I have all that set right.But I found this error
    PHP Warning: unlink(/home/XXXXXXX/public_html/wp-content/cache/cache-enabler/flooringhardwood.com/shop/waterproof-luxury-vinyl-flooring/evoke-vcc-bette/index.html.gz): No such file or directory in /home/XXXXXX/public_html/wp-content/plugins/cache-enabler/inc/cache_enabler_disk.class.php on line 371, referer: http://flooringhardwood.com/?ao_speedup_cachebuster=14580

    Where does that error appear? Have you been able to determine whether the cache gets deleted after a certain time period (e.g. every X hours)?

    Thread Starter jeff2013

    (@jeff2013)

    that was error log Apache. No time frame will stay 3 hours or go in 30 mins.
    I have tried to set to 200 hours and 0 for no expire either way the same.
    hmmm I will keep looking

    Thread Starter jeff2013

    (@jeff2013)

    it seems to be when a post is updated it deletes all cache

    And just to double check, you’ve defined the Cache Enabler option in the sidebar of your post to clear cache based on “Page Specific” instead of “Completely”?

    Thread Starter jeff2013

    (@jeff2013)

    yes I have

    Please contact us directly here: https://www.keycdn.com/contacts with temporary login credentials so we can take a closer look.

    Thread Starter jeff2013

    (@jeff2013)

    OK I figured it out when we change woo-commerce categories, we are updating SEO on those pages then it deletes all the cache.We are just just updating the pages.

    Anonymous User 14978628

    (@anonymized-14978628)

    I also have this issue. When a new post is published it clears my entire cache, even though i’ve set it not to do this.

    I’ve determined the cause is due to some conflict with the following plugins being active together:

    a) Autoptimize
    b) Monarch Sharing Plugin
    Extra Theme (Elegant Themes)

    Having plugins A or B active on their own doesn’t cause the issue.

    Thread Starter jeff2013

    (@jeff2013)

    I deleted Autoptimize and no longer have the problem.

    I’ve determined the cause is due to some conflict with the following plugins being active together:
    a) Autoptimize
    b) Monarch Sharing Plugin

    Guess Monarch for some reason clears Autoptimize’s cache (there’s no automatic cache purging in AO), in which case CE’s cache is cleared as well (to avoid having HTML in page cache which refers to autoptimized CSS/ JS that isn’t there any more). Question would be why Monarch would be doing that …

    frank (ao dev)

    Anonymous User 14978628

    (@anonymized-14978628)

    The issue also occurs when using Social Pug (https://wordpress.org/plugins/social-pug/) and AO. Either alone and there is no issue. Used together and CE’s cache is cleared when publishing new post.

    I noticed the cache clearing issue also occurred with other caching plugins, such as Litespeed Cache, so the problem doesn’t seem to be unique to CE.

    CE will automatically clear it’s cache when AO’s cache is purged (as will some other page cache plugins), so the question is what triggers AO’s cache purging. i’ve installed Social Pug and can’t replicate, but that might be due to config or the fact I’m not on the “pro” version. based on a quick glance at the code I don’t see any interaction with AO or with the wp-content/cache-directory either.

    @martychc23; If i’m not mistaking you created a support question for “social pug”, any feedback there? and are you using the free or the pro version?

    @codyarsenault; social pug stores the share count in post_meta (using update_post_meta), could that trigger a CE cache purge? or does CE only look at actual posts & comments?

    Anonymous User 14978628

    (@anonymized-14978628)

    Testing again with Social Pug (free) it behaves slightly differently to Monarch. It clears CE cache when a post is deleted. Monarch clears CE cache when a post is published. Can i send you the Monarch plugin?

Viewing 15 replies - 1 through 15 (of 20 total)

The topic ‘Cache keeps getting deleted’ is closed to new replies.