WordPress.org

Ready to get started?Download WordPress

Forums

WP Ultimate Search
[resolved] Latency loading Second Level Terms (2 posts)

  1. it99ts
    Member
    Posted 9 months ago #

    I'm a Pro User.

    The latency between selecting the first level custom taxonomy and the loading of the corresponding second level terms is too large; on ios the problem is even worse. Is there a way to load the second terms on "page-load" (like the first level custom taxonomies) to solve this?

    http://wordpress.org/extend/plugins/wp-ultimate-search/

  2. Bryce Corkins
    Member
    Plugin Author

    Posted 9 months ago #

    The "first level" terms are loaded on page load since they're set by the user in the WPUS settings, and it's really easy to get a list of them quickly. i.e. "Category" "Custom Taxonomy 1" etc.

    "Second level terms" are much more difficult because each "first level term" could have dozens or hundreds of second level terms beneath it, and these need to be pulled from the database. We chose to not load these on the initial page load because it would slow down every page load, even when users weren't there to perform a search.

    What we plan to do in the future is to create a basic caching mechanism where the first time the second level terms are loaded, they're saved to a list that can then be recalled instantly on subsequent page loads. We understand that this is going to be a very important feature for a lot of people, but it's going to take a little while to get it right.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.