Click here to Skip to main content
13,299,495 members (57,294 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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.

Nanda Kishore.CH
Posted 11-Oct-12 2:51am
ryanb31 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
ryanb31 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?
Marcus Kramer 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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.[^]

For database, you can use various techniques to fine-tune.[^]

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171207.1 | Last Updated 11 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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