• Resolved luminsol

    (@luminsol)


    Hi guys,

    According to your documentation, then code below should clear only the page with the specified post ID from the cache. However, when the actual post ID is the home page, it will clear the entire cache.

    
    $some_page = 1111;
    $home_page = 2222;
    if (has_action('ce_clear_post_cache')) {
        do_action('ce_clear_post_cache', $some_page ); // works correctly
        do_action('ce_clear_post_cache', $home_page ); // bug: will clear all pages
    }
Viewing 1 replies (of 1 total)
  • Anonymous User 16850768

    (@anonymized-16850768)

    I’ve been able to confirm that clearing the home page post ID does clear the entire cache. I’ve passed this along to the plugin developers to investigate further.

Viewing 1 replies (of 1 total)
  • The topic ‘BUG: ce_clear_post_cache action clears whole cache for home page’ is closed to new replies.