• Resolved Anonymous User 14978628

    (@anonymized-14978628)


    Hey Frank,

    I previously had an issue where the page cache would clear when publishing a post. I eventually tracked it down to some code in Monarch plugin and solved the issue.

    I’ve noticed the same problem is happening again.

    I tested on my local install with only Cache Enabler and Autoptimize, and page cache only gets cleared when publishing a new post when Autoptimize is active.

    When Autoptimize is not active, page cache remains intact when new posts are published.

    Has something changed in the last update for this to occur?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Has something changed in the last update for this to occur?

    no. the only reason I can think of why this would happen is that a plugin is purging AO’s cache, upon which AO will try to purge CE’s.

    Thread Starter Anonymous User 14978628

    (@anonymized-14978628)

    Found out they added code to the theme itself this time which is causing the cache clearing issue:

    		// Complimentary Performance Plugins
    		// Autoptimize
    		if ( is_callable( 'autoptimizeCache::clearall' ) ) {
    			autoptimizeCache::clearall();
    		}

    Will be able to fix this using child theme.

    Edit: Note for anyone else with the same problem, i’m using the Extra theme and the file is located here:

    extra\core\components\init.php

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    good job @martychc23, thanks for the feedback!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page Cache Clearing’ is closed to new replies.