Support Forums

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

Forums Forums Search & Filter Pro Search and Filter Cache

Viewing 4 posts - 1 through 4 (of 4 total)
  • Grosvenor
    #48410

    Hi,
    I noticed that Search and Filter’s cache rebuild/refresh seems to happen quickly when a post is added, however when a post is trashed, the cache does not remove it from the dropdowns quickly.

    1) Does the S&F cache refresh remove/not include information from posts that are in the trash (but have not yet been deleted)?
    2) What actions trigger the S&F cache refresh? Or is it executed based on time?
    3) We received an error: ‘Running background processes is either disabled or has failed in this environment’. We have the background cache process enabled. Do you know of any common reasons for why this wouldn’t be able to run in the background?

    Trevor Moderator
    #48430

    Posts go from draft to published to trash (bin) and then deleted. Any of these actions triggers a cache build/re-build for the post in question. I do not know, but my guess is that calls to admin-ajax.php are what does it. Some setups will cause changes that Search & Filter does not detect, and thus if you find that happening, you might need to add code to whichever plugin is doing that to trigger the cache to build, and this is covered in our documentation (in the actions).

    A post is only fully removed in WP when it is deleted from the bin. In the S&F form settings, you specify what state the posts it searches are in (usually ‘published’).

    As to why the cache does not build in the background, you may need to increase the cache build speed in the plugin settings, or it may be the PHP settings of the server that need adjusting (such as timeout settings).

    Grosvenor
    #49285

    Hi,
    We had some quick questions around SF caching and optimal PHP ini settings. We are still running into background process caching errors: ‘Running background processes is either disabled or has failed in this environment’, and we only have 25 posts….so there is not much to cache.

    1) When Search and Filter rebuilds a cache, does it rebuild by going through ALL of our content, or does it merely change details for the newest/updated post in the cache? Would you be able to provide more insight into how SF Caching works?

    2) Are there any specific PHP settings that you’d recommend adjusting, that might possibly fix this issue? Any insight would be greatly appreciated.

    Thanks!

    Trevor Moderator
    #49308

    Can we cover this at the same time as the other thread when we talk?

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

You must be logged in to reply to this topic.