Forums › Forums › Search & Filter Pro › Search and Filter Cache
- This topic has 3 replies, 2 voices, and was last updated 9 years, 10 months ago by
Trevor.
-
Anonymous(Private) June 15, 2016 at 12:23 am #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(Private) June 15, 2016 at 10:00 am #48430Posts 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).
Anonymous(Private) June 23, 2016 at 6:58 pm #49285Hi,
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!
-
AuthorPosts