Forums Forums Search & Filter Pro Shedule cache

Tagged: , , ,

Viewing 10 posts - 1 through 10 (of 19 total)
  • Anonymous
    #133150

    First things first your Plugin is awesome. Love it. There is just one thing I’m missing.
    We have a woocommerce system which is scheduled filled with Products out of an external database. You can search trough these 120.000 Products with your Plugin in three categories. We want to schedule the cache function for your Plugin too. So how do we do?
    I’ve found these line of code do_action(‘search_filter_update_post_cache’, get_the_ID()); but it doesn’t work out for us as it only updates the cache for a single product.
    Is there an option to schedule the “rebuild cache” function?

    Trevor
    #133161

    There is no cron function, no. If you are using an importer/updater script, it will actually import/update each post one at a time. Some of these have a hook that allows you to call in that action after each post is imported/updated, otherwise you would have to edit the program that does the importing, find the loop that does this, and then trigger that action (with reference to the Post ID in that iteration of the loop) after the post action has been made.

    Anonymous
    #133876

    Hi,

    We have 10,000-15,000 posts. New posts are created, old posts are deleted and other posts are randomly updated (meta values).

    With just 5,000 test posts the cache rebuild is taking a long time. I am wondering, will this plugin work with 15,000?

    Also, a cache rebuild function would be great!

    Trevor
    #133954

    The time it takes to build the cache is a factor of many variables:

    Your server (and its resources).
    Number of posts (I have seen it working OK with sites of over 100k posts).
    The number and complexity of fields in the form.

    I have noted your request for a cache rebuild function. That might be an inefficient function unless you are editing or replacing the majority of posts.

    Anonymous
    #141565

    Hey there,
    still trouble with the cache. I’m trying to find a solution to shedule the cache.
    I’m not really happy with the building cache function. There is an error with WordPress. We have around 115.000k Products. Now I tried to fill the cache a few times. It’s not working out.
    After a while WordPress throws an error message named “Connection Error”. The highest amount of Products I cached was 23.000. So how can I cache all Products in the background?
    Kind Regards

    Trevor
    #141596
    This reply has been marked as private.
    Anonymous
    #141608
    This reply has been marked as private.
    Trevor
    #141614
    This reply has been marked as private.
    Anonymous
    #141650
    This reply has been marked as private.
    Ross Moderator
    #141723
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 19 total)