Click here to Skip to main content
15,886,842 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

in my sample project the AutoCompleteExtender takes about 12 to 15 seconds to load, but only the 1st time.After the first time it takes 0.5-1 sec.

How can i solve this. If any one about this tell me.

Regards
Nanda Kishore.CH
Posted
Comments
I.explore.code 12-Oct-12 4:01am    
You are the same person asking about the "Page level cache" problem too, aren't you? :) Anyway, in this case it really depends on how much data you are loading in your auto-complete extender and whether or not the data is coming from just one table or its being joined with several other tables and then returned. And the reason it takes only 0.5-1 secs second time on, is that it caches previously loaded results and uses them if you type in the same query string again (i.e. if you set the caching property to true). Have a look at your DB queries and the query execution plan. Optimisation problems are very specific to the system architecture and overall design, so it is difficult to come up with a general remedy.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900