How to speed up the loading of the results box?

Home Forums Product Support Forums Ajax Search Pro for WordPress Support How to speed up the loading of the results box?

This topic contains 2 replies, has 2 voices, and was last updated by kotisivutohtori59 kotisivutohtori59 4 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #28370


    how can I make the Ajax Search results box open faster? I tried decreasing the indexing:
    Stats (reloads periodically) | Items Indexed: 1048  | Items not indexed: 0  | Total keywords: 51856 (original)
    Stats (reloads periodically) | Items Indexed: 472  | Items not indexed: 0  | Total keywords: 21068
    Stats (reloads periodically) | Items Indexed: 472  | Items not indexed: 0  | Total keywords: 14179 (last one)

    But still I don’t see any change in the speed when the results start appearing. This is specially an issue with mobile version (magnifier icon) and its results. The box having the results takes sevaral seconds to show up. How can I get the results immediately starting to show up when writing the search-word? I tried finding answers from documentation but did not really find help from docs.

    We are happy for just some results showing up. No need to load all the 10 results at once. Is 10 results too much to load at once?

    Please test with mobile devise so you see it better. The magnifier icon appears on the top-right-side (with green background). Thanks!

    – Anne

    Ernest Marcinko
    Ernest Marcinko

    Hi Anne,

    The search performance depends highly on your server performance. The plugin does not use any subscription based or external service to handle the actual search process, it is handled on your server.
    The downside is, that each ajax request is handled by WordPress, and the response time highly depends on how well the whole WordPress core responds. Looking at the site back-end, it takes some time to load everything up, the sites needs a few seconds to start responding. The search response cannot be much faster than that.
    Instant suggestions would require a dedicated 3rd party service. Some plugins do provide that for a monthly fee.

    I did a few improvements, that may push the search performance further, but looking at the search performance tracker, the most recent search processes itself does not take that much time at all (0.03 s).

    I did the following improvements:
    – Enabled the custom ajax handler
    – Enabled the index table engine on search id=4, make sure to enable that on other search bars if needed
    – Changed the keyword logic to AND, it is a bit more optimal

    I’m already seeing response times below 2 seconds, which is a great improvement.

    What I also recommend:
    – Turning off as many plugins as possible. Plugins you don’t use, should be deactivated, that may impact the site performance greatly.

    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    Thanks for your help and the suggestiongs. I’ll have a look at them!

    – Anne

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

You must be logged in to reply to this topic.