• Hello,

    I am experiencing some issues with the page-cache. after updating posts or pages they are not purged from the cache. Even after clicking the ‘purge from cache’ link on a post edit page does not purge that page from the cache.

    I have following options checked in the purge-policy settings:
    Front page, Posts page, Post page, Blog feed

    but the setting doesn’t seem to effect anything. Only clearing the entire page-cache, using the ’empty-cache’ button on the settings page, seems to do the trick.

    I have also tried to use a function to purge the pages via w3tc_pgcache_flush_post(), but it didn’t help either:

    function purge_cache_on_save($post_id) {
      if (function_exists('w3tc_pgcache_flush_post')){
       w3tc_pgcache_flush_post($post_id);
      }
    }
    add_action( 'save_post', 'purge_cache_on_save' );

    Currently the site is on a Apache server.

    Are there any settings I have missed that could resolve this problem or do you have any other suggestions what could cause this behaviour?

    Thank you in advance.

    https://www.ads-software.com/plugins/w3-total-cache/

  • The topic ‘purge from cache not working’ is closed to new replies.