Forums Forums Search & Filter Pro How the cache thing works ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #222961

    Hi

    We would like to understand how cache thing works.

    On our site we go integration with our pos / inventory system. after so every 30mins we are fetching updated inventory and update them in wordpress ( woocommerce products )

    products get into system no trouble with that .. the thing is it takes more than couple of hours to show on frontend ( woocommerce shop page with search and filters )

    if we rebuild cache manually all the updated products shows up properly.

    How to tackle above situation ? / whats the best settings ? / does cache build automatically triggers if any posts ( woocommerce product) gets updated ? or there is any timeout ?

    I would really appreciate your help on this..

    Trevor
    #222996

    Whatever code/software you are using to sync the products needs to tell our cache that those products have been updated.

    We have an action that you can use:

    https://searchandfilter.com/documentation/action-filter-reference/#update-cache-for-a-particular-post

    If you are using a plugin to perform the sync, it is possible we may have a code snippet for that, if you can let me know what you are using.

Viewing 2 posts - 1 through 2 (of 2 total)