• Resolved redsector72

    (@redsector72)


    I have active this option “Only refresh current page when comments made”, but when a comment is made all the Categories that the post was included (with subpages), all the author of the post pages (and subpages), and all the blog index (includin all subpages) are purged from the cache (and not regenerated).

    I suppose this is not the expected behavior from the description of the option.
    Not sure if it’s a bug or a bad description.

Viewing 1 replies (of 1 total)
  • Plugin Author pyronaur (a11n)

    (@pyronaur)

    Hi @redsector72,

    When that setting is enabled it should only clear the cache for the specific post and not the related pages. If that’s not the case, then something is wrong. If you have any plugins that fire certain WordPress hooks when comments are moderated it may result in the whole cache being purged.

    It’s difficult to tell without looking at the specific site.

    I’d recommend you try out the cache debug tab, enable debugging, and log-in to the debugging view – then open an incognito window and post a comment, reload the debug view and see what output you get when the whole cache is cleared – you might see a helpful message there.

    Alternatively, you can force disable this behavior using a filter:

    
    add_filter( 'wpsc_delete_related_pages_on_edit', '__return_zero' );
    

    But I strongly recommend to use the debugger to find out the actual cause of the issue, otherwise you might experience the opposite of this problem – cache persisting for too long.

Viewing 1 replies (of 1 total)
  • The topic ‘Only refresh current page when comments made – not working as expected’ is closed to new replies.