Skip Navigation

[Resolved] Search page is slow

This thread is resolved. Here is a description of the problem and solution.

Problem: The default search page of my site is slow to return results.

Solution: Use pagination and/or limit the amount of content shown in each result by removing nested Views.

This support ticket is created 6 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 8 replies, has 2 voices.

Last updated by CharlesB2907 6 years ago.

Assisted by: Christian Cox.

Author
Posts
#1146012

Hi Christian,

The default search page is far too slow in loading. So slow, no one would bother to wait for the return to load.

Thank you.

#1146079

Pagination is the first thing I would suggest. Limiting the number of results shown on page load will significantly reduce the amount of time needed to load the page. Edit this View and scroll to the top right corner of the screen. Click "Screen Options" to activate the pagination settings. Then add pagination controls in the Search and Pagination editor area.

Beyond that, we have a standard of 0.05 seconds for each individual query when the site is run in a default theme like Twenty Seventeen with only Toolset plugins active. So if you're still seeing slow page loads after adding pagination, we can try using a plugin like Query Monitor to pin down any problematic queries. Let me know your thoughts about pagination and we can go from there.

#1146113

Hi Christian,

Thank you for providing such a clear explanation. The client specifically did not want to use pagination but I may have no other option.

As you are aware, I have a few active support issues currently and I would appreciate it if we could pause the subject of search performance for a short while.

#1146522

Okay sure. There is also the "infinite scrolling" option you could consider, which isn't exactly pagination but isn't exactly showing all the results at once, either. I will stand by for your update on this. The ticket will remain open for 30 days.

#1147451

Hi Christian,

Regarding the pagination, changing the view purpose from "Display the results using a custom search" to "Display the results with pagination" or checking the "Pagination and Sliders Settings" in the filter section seem to enable the pagination settings in the Search and Pagination section. Can you be a bit more specific?

#1149276

Use the Screen Options panel to turn on or off different parts of the View editor screen. The "View purpose" dropdown field lets you choose from several common preset configurations, but you can use the checkboxes to further customize the screen.
https://toolset.com/documentation/beyond-the-basics/paginate-lists-of-content/
https://toolset.com/documentation/user-guides/views-pagination/

#1149352
Screenshot_11-19-6.jpg
Screenshot_11-19-5.jpg

Christian,

I do not have the same "Filter" option in my screen options as in the screenshot you provided.

#1149436

Looks like an outdated image in our documentation. I will ask the team to update that graphic. If you're in doubt, check all the checkboxes to display all the editor panels.

#1151711

My issue is resolved now. Thank you!