Forums › Forums › Search & Filter Pro › Acf fields not being cached for search
Tagged: cache
- This topic has 14 replies, 3 voices, and was last updated 7 years, 7 months ago by Ross.
-
Anonymous(Private) May 2, 2017 at 4:45 pm #106001
I have made a site for a client that now has over 200 posts. For about the first hundred and so there was no problem but now using the same method and the same fields made in ACF, the engine returns only couple of results instead of all. When i got in the Database search_filter_cache does not cache any information for my post and my post id is not in the list of the correct search criteria search_filter_term_results. If i add the info corresponding to my post manually in both of those tables the post comes out correctly. There was no change in method or plugin update made since the site launch. Rebuilding cache just makes things worse as it removes previously saved fields for post that were showing up the way they should.
Trevor(Private) May 3, 2017 at 1:34 pm #106189This sounds like the query that runs to build the cache is being terminated early by the server. It rather depends on the type of hosting you have and the host. Have you tried changing the Search & Filter plugin settings to see if these make any difference?
If you have error logging active, what do the PHP and Server logs show?
Trevor(Private) May 3, 2017 at 2:12 pm #106206All looks OK, but I cannot tell what is going on in the server/hosting, which is where the issue most likely is. You may need to talk with your host to examine what is happening when you click the cache rebuild button. I think there is also a plugin called query monitor that might help you.
-
AuthorPosts