• Resolved Dan Miller Coding

    (@danmillercoding)


    Hi, I’ve decided to investigate the caching issue deeper and found out that the Caching feature is terrible at the moment and I don’t recommend it to anyone until these issues are fixed:
    1. Default Category pages are not purged when a new post is added.
    2. Default Blog page is not purged purged when a new post is added.
    3. Custom Pages with posts feed added via WPBakery are not purged when a new post is added.
    This error occurs regardless if CloudFlare is present or not. I’ve tested on sites with and without it.
    This is pretty serious and I have no idea how this got approved and not properly tested before the release of this feature.
    The only page that seems to be purged is the Home page.
    This means that users who post new posts don’t have their posts visible on the website unless they manually purge the cache or the cache expires.
    Please address this ASAP.
    Thanks.
    Dan
    Web Developer

Viewing 4 replies - 1 through 4 (of 4 total)
  • @danmillercoding I’ll check this with our development team and update you soon on the same.

    Thank you for your time and patience.

    Thread Starter Dan Miller Coding

    (@danmillercoding)

    After some tests it seems like sometimes the cache is cleared and sometimes not. I’ll run more tests on multiple websites and let you know if I find anything.

    @danmillercoding Sure thing, do let us know your findings so that we can share more details to our development team.

    Hi Dan,

    Thank you for your feedback.

    1. Default Category pages are not purged when a new post is added.

    Category archives are purged when a category is added or removed from a post. If you add a post with no category, then they won’t be purged.

    2. Default Blog page is not purged purged when a new post is added.

    That’s true, not sure how we missed that. We’ve found this a few days ago and this rule will be in the next release.

    3. Custom Pages with posts feed added via WPBakery are not purged when a new post is added.

    There is no direct link between a blog post and a page with a blog feed, if it’s not the Blog page as set in the settings.
    So if you want to purge custom pages when adding a post, you’ll have to add a code snippet which does that.

    You can use WPO_Page_Cache::delete_single_post_cache($post_id); in order to purge any post when triggering an action.

    Alternatively you can use the filter wpo_purge_all_cache_on_update to purge the whole cache when saving a post. E.g. add_filter( 'wpo_purge_all_cache_on_update', '__return_true' );

    Kind regards,
    Marc

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘IMPORTANT! Caching does not refresh after adding new posts.’ is closed to new replies.