After selecting the proper environment and plugins, there are a few tricks to increase search performance.
These changes are recommended on most shared hosts and lower performance servers. These changes can improve the search performance significantly.
While it's a great feature, it requires a decent server to handle. Shared hosts tend to have an execution limit, which can be reached very quickly with constant ajax requests.
To disable this feature go to the
General Options -> Behavior panel. Also, make sure that either the magnifier or the return button action is set to 'Trigger live search' (see screenshot), otherwise the live results will not appear.
After this change the user will have to hit the Return key or click the magnifier icon to start the ajax search process (depending on your configuration).
Autocomplete is triggered on every keystroke, so just like the previous option - unless only google is selected as the source. In that case your server is not invoked in the process.
If your main results are Posts, Pages, Products or other custom post types, you should definitely consider using the Index Table engine.
By default this feature is disabled, but in case you decided to use it, it can cause a decent performance slowdown.
To turn it off, go the the
General Options -> Behavior panel and set the "Secondary logic" option:
There is a built-in, optional file and database based search cache. To enable it, go to the Cache Settings submenu.
There is either a File or Database caching method. We recommend trying both to find out which one works in your case faster.
These changes can have a relateively big impact on the overall performance.
As discussed in the previous section, the ajax performance is unfortunately affected by every single plugin you have installed.
However there is an implemented custom ajax handler, which can try to bypass unneccessary plugin loading, making this process faster.
To enable the custom ajax handler, click the
Compatibility Settings submenu.
Cropping images to thumbnails can cause a definite slowdown, mostly in cases where the source images are too big. Image cropping can be disabled on the
Caching options page:
This option is disabled by default. Searching in terms can slow down the plugin if the posts and the terms table grows big enough.
If you want to keep searching the terms, use the index table engine instead, it is much faster and more accurate.
To disable search in terms, go to the
General Options panel -> Sources -> Search in terms? (categories, tags) option:
These changes will most likely have a noticably small impact on the performance.
Relevance is not a performance killer per se, but you can save up a few milliseconds by disabling it.
Go to the
Relevance Options panel -> Sort results by relevance and disable it.
Tags: search speed, slow speed, increase speed, increase search speed, slow search speed, faster search, fast search speed, make search faster, search performance, faster performance, performance search, index table speed, speed performance