Results 1 to 9 of 9

Thread: problem with the speed of the page

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2010
    Posts
    408

    problem with the speed of the page

    i see that my site is a little slow
    in my localhost it is fast but in the server not

    but i see that videos are displayed without problems so i dont think that is from bandwith
    but i am not sure

    which are the main things that make a page go slow??
    sessions can be one of that??
    or connections with database??or something else?

  2. #2
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: problem with the speed of the page

    It could be off most things like ViewState for the controls,Session , Server performance and Network Traffic.

    Have a look at this tutorial from MSDN
    Please mark you thread resolved using the Thread Tools as shown

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: problem with the speed of the page

    Hey,

    I would enable Trace on your pages, and see where the bottle neck is:

    http://msdn.microsoft.com/en-us/libr...we(VS.71).aspx

    Gary

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2010
    Posts
    408

    Re: problem with the speed of the page

    the stuff of my host says that the problem is because of the distance between my country(greece) and the host that is in usa
    i did trace route and ping to my site and they told me that..

    is that logic??
    and if it is logic why i dont have this problem when i visit other sites that are hosted in america?

  5. #5
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: problem with the speed of the page

    are these websites hosted in the same host as your web application?
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

  6. #6
    Frenzied Member brin351's Avatar
    Join Date
    Mar 2007
    Location
    Land Down Under
    Posts
    1,293

    Re: problem with the speed of the page

    A simple test to tell if it's the host/network or your code would be to put a html page on the server and see how fast the request is returned. If a static html page comes back fast then you could request a aspx page that does not call the database and then one that does.

    On shared hosting your allocated a portion of resources so it I'd try and figure out if running code, database connection (dynamic stuff) are causing the problem - your hosts limitation.

    Extra

    I also notice that complied sites respond quicker - although they are compiled into the aspTemp directory after first request I still find better response times with pre compilation, also the temp folder on the server can get periodically cleaned out.
    Last edited by brin351; Sep 28th, 2010 at 02:56 AM.
    The problem with computers is their nature is pure logic. Just once I'd like my computer to do something deluded.

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: problem with the speed of the page

    Hey,

    How slow are we talking about here? Have you timed it?

    Did you enable trace on your page? It should tell you exactly how long it took, and where the bottleneck is.

    You might also want to open up Fiddler and look at the requests that were being made, it should give you an indication of what is going on.

    Gary

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2010
    Posts
    408

    Re: problem with the speed of the page

    i made tracert in command prompt and the whole delay was 2 seconds

  9. #9
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: problem with the speed of the page

    I am not talking about tracert, I am talking about ASP.Net Trace, as per the link that I sent you.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width