Click here to Skip to main content
14,488,087 members
Rate this:
Please Sign up or sign in to vote.
See more:
hi,

i have one forms or you can say web page,which comprises of lots of data on it,
while i m getting data from c# it takes only 0.0756 seconds to load data but once i m trying to bind it on web page it takes 10 second,is there any way i can optimize and reduce page loading time

thank you
Posted
Comments
Nirav Prabtani 27-Mar-14 0:56am
   
Use Ajax method for binding data quickly..
abhishekgoletar 27-Mar-14 1:03am
   
i am already using that.but no useful
ravikhoda 27-Mar-14 1:27am
   
may be you need to optimize your sql query which get the data. run the query in sql studio and check the execution time.
abhishekgoletar 27-Mar-14 1:45am
   
i m creating xmlString from Database and it takes only 0.0756 seconds so SP load time is part of 0.0756 sec.it'll execute within that time
ravikhoda 27-Mar-14 1:54am
   
okay, well without viewing your code i can not say much but try to use Y slow / Firebug plugin on Firefox and check which event is taking more time to load data. it may be possible that your web page have lot of images and some other java scripts which also take time to load.
abhishekgoletar 27-Mar-14 2:03am
   
Ok buddy,let me explain you clearly
my C# coding is only taking .0700 second to load
but when i m passing xml string[contains 1lakhs of string] to html loader[converts xml string to html form]
as it's size is to long its taking time
--->page contains no images
--->and my html loader is purely passing bytes
--->this is what taking to much time[html loader]
caching is not possible for me
thatraja 31-Mar-14 6:09am
   
No wonder, 1 lakhs of string'll take that much time. Give use more details, update your question

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100