Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro I need to manually rebuild my Cache each time a new download is added

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Eamonn Keenan
    #100701

    Hi Guys,

    You can find my Search at https://www.thehomeoffitness.com/shop/

    Everytime one of my Vendors adds a new download, I need to manually rebuild my Cache for their new download to work with my search.

    Is there any way to have the cache automatically rebuilt every so often or each time a new downloaded is added?

    Regards,
    Eamonn

    Trevor Moderator
    #100725

    If you are using a script to add each download, then yes. See this documentation for the Update Cache for a Particular Post action.

    Change the example post id to a variable, and then before that, after the download has saved, pass the returned post id from that save into this action.

    Eamonn Keenan
    #100815

    Hi Trevor.

    I’m not running any script to add each download. Instead, my vendors are adding their own downloads via Frontend Submissions.

    Is there a way that I can set up the Cache to rebuild the cache every hour? Or perhaps each time the search is loaded?

    Regards,
    Eamonn.

    Trevor Moderator
    #100834
    Eamonn Keenan
    #101638

    Thanks Trevor, I’ll give it a go and see it if works.

    Ross Moderator
    #101896

    Hi Eamonn

    I had a quick thought and realised you were using Marketify, which means you are probably using the EDD FES plugin? then I think you might actually need the code from this post:

    https://support.searchandfilter.com/forums/topic/filter-on-edd-search-results/page/3/#post-42911

    The other one example we were referring to was the ACF plugin, and doing frontend submisions 🙂

    Best

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

The forum ‘Search & Filter Pro’ is closed to new topics and replies.