Click here to Skip to main content
15,884,425 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
in my sample project one webpage is loading slowly every time, it takes nearly 10 to 12 sec. I put page levlel cache in that page but it takes same time. how can i improve my webpage perforamance. If any one know about this tell me.

Regards
Nanda Kishore.CH
Posted
Comments
ZurdoDev 11-Oct-12 7:56am    
We'll need a lot more details. Is it loading data from a db? Is there a lot of viewstate? Is there JS running on load?
nandkishorre 11-Oct-12 8:08am    
ya.. loading from database. I used view state in that page
ZurdoDev 11-Oct-12 10:00am    
So, have you stepped through the code to see if the db access is slow or is it the actual rendering of the page that is slow?
fjdiewornncalwe 11-Oct-12 10:24am    
Have you stepped through your code in the debugger? If you do that you can step line by line until you find ones that appear to be more time-consuming than they should be. At that point, examine that line of code and see what you are attempting to do and you will find what you need to optimize.(My suspicion is that your database calls are slow either on connection to the database, or that the queries themselves need tweaking)

1 solution

It really depends on what you have on the web page.

However, for .Net Application in general using profiler will help you to find the code-block which is taking time.

http://msdn.microsoft.com/en-us/library/ms182372.aspx[^]

For database, you can use various techniques to fine-tune.
http://en.wikipedia.org/wiki/Database_tuning[^]
 
Share this answer
 

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