Slow load times
-
Hi I’m loving this plugin but only notice one issue. I’ve set it up with 3 character search. After I put 3 letters in, it takes minimum 5 seconds to load up results on a blog that only has about 12 posts.
Is there anyway to reduce the load times?
-
Do you experience any sluggishness in the site in general? Or specifically within the admin if you’re using a caching plugin?
The problem with the WordPress AJAX API is that it fully loads WordPress with each AJAX call so you’re essentially loading an un-cached page/post with each call. On a shared hosting environment this becomes much more noticeable.
Site wise seems fine, doesn’t feel sluggish. Admin area seems to work fine too, running a website speed test on pingdom comes up as 95/100 Perf Grade for my site. Even on posts it turns up with 92-94/100 So in general no, site seems to run like a breeze. Although I do use W3TC for caching, so not sure if this has something to do with it, do you think the plugin is incompatible with this plugin from a speed point of view?
Just tried it on front end this time took about 7 seconds, on my second attempt about 4 seconds.
Or do you think asking for 3 letters is too much to look through, because I just changed it to 4 letters instead and this time it was between 2-4 seconds.
I also wanted to ask, is there anyway to sort the results because at the moment I have posts, tags, categories mumbled jumbled, so the actual post is appearing mid way far down the bottom.
I’d like it so posts show first and then the tags underneath
For sorting you can either set it to posts or terms first in the admin. Otherwise, I can possibly add in an extra parameter to the ‘search_autocomplete_modify_results’ filter that would include the post/term object so you could then apply your sorting at that point. Is that something which would be useful?
Yes please as I’m not that great with coding and don’t know if what I am doing is right. If there could be an option in the admin interface that allows you to select which order you would like it would be great.
E.g. In my instance I want the exact matches show up first and then feed down to the least match.
If that’s over complicated then at least show in order of Post Title, Then Tag, Then from the post description. At the moment they are all muddled around everywhere
Hi @hereswhatidid,
I’m experiencing slowness as well. It takes the drop down menu 5-7 seconds to pop open…
You can check it out on the search form on my home page:
http://www.trekkingpartners.com/
Any ideas why it takes so long?
Thanks,
AlexHi @hereswhatidid – any idea on how to speed this up π Would be great if you quickly visit my site and try typing in “Annapurna” to see what I mean.
Would be greatly appreciated!
pushing this up again – would be great to have it working faster! π
Alex
If anyone has any ideas on how to speed it up I’d be all ears. This is definitely something I find frustrating myself as the author of the plugin as the only workaround I’ve found so far involves not using the WP core ajax integration and instead creating your own direct calls to the DB, which I’m really not a big fan of.
@hereswhatidid, wish I was more of a developer so I could help out.
I wonder why it takes so long on my website, in particular. It’s unfortunate it doesn’t work faster as your plugin is a pretty crucial addition, otherwise. Makes the search way more useful…
Has there been any progress in speeding up the plugin? I’d love to use it — it works beautifully, except for the speed.
The topic ‘Slow load times’ is closed to new replies.