• Resolved yankiara

    (@yankiara)


    Hi,

    Is it me or counters don’t update in real time?

    For example with taxonomy filters, creating posts and affecting terms doesn’t instantly change items counts on frontend filters. It seems they need something like 24 hours to correctly update.

    So, how do we force counters refresh?

    It is very limitating and I can’t deliver this to my client because they constantly add/remove job offers, and they need it to be instantly updated for checking and for visitors.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support fesupportteam

    (@fesupportteam)

    Hi @yankiara

    You can reset it with the addition of the get parameter “?reset_filters_cache=true” like this mysite.com/shop/?reset_filters_cache=true

    You can go to the filter set and hit update in order to reset it.

    You can use this example of the function to reset the filter terms cache:

    if ( class_exists( '\FilterEverything\Filter\Plugin' ) ) {
        $fe = new \FilterEverything\Filter\Plugin();
        $fe->resetTransitions();
    }

    Also, if you have any cache plugins you might want to clear their cache as well.

    Best Regards – Victor

    Thread Starter yankiara

    (@yankiara)

    Hi,
    Thanks for your fast answer ??

    The first solution worked perfectly, thank you.

    (FYI, I couldn’t reset counters with update button in filter set, and I haven’t tried the third solution.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Counters don’t seem to update in real time’ is closed to new replies.