Problem with "Find a user" functionality

rated by 0 users
Not Answered This post has 0 verified answers | 0 Replies | 1 Follower

Charles Boyung
Not Ranked
39 Posts
Points 680
By: Charles Boyung
Posted: Fri, Jun 6 2008 12:15 PM

Cross posting to both CS 2007 and 2008 because it happens on both.

If you go to the "Find a user" page in CS (such as http://dev.communityserver.com/user/Members.aspx), the UserList object performs the search even though it is not going to be rendered.  It calls Users.GetUsers in the DataSource.Get property, but it doesn't render the user list due to the fact that it has a DisplayCondition of the search QueryStringProperty set to 1.  In many cases, I'm sure, this is not a problem, but when your system has several hundred thousand users, like ours does, it is very time consuming.  It takes between 10 and 20 seconds to bring up the search page, which should really come up immediately.  Once you put a username in to search on, the page comes back quickly because the search itself runs quickly once the queryoverrides are set properly, but that initial page load is completely unacceptible.

I can't find a way to make it only run the search if the results are going to be rendered, so I need a way to do that.

Boyung.com

 

All Replies

Page 1 of 1 (1 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com