Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WebSite page going slow  RSS feed

 
Bryan Murphs
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

One of my website pages is very slow to appear on a client browser, where do you think i should look for areas of improvements?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is it slow? Is the page huge and using a lot of bandwidth? Is there a lot of JavaScript? Are there a lot of images/server round trips?
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the page huge and using a lot of bandwidth?


Hi , i am hearing this term bandwidth from long time , but i really dont know how this is actually related to J2EE . could you please tell me what is meant by bandwidth in terms of J2EE .
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please ask your question in a new thread and don't hijack this one.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answered the "what is bandwidth" question here
 
Vikrama Sanjeeva
Ranch Hand
Posts: 760
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bryan Murphs wrote:Hi,

One of my website pages is very slow to appear on a client browser, where do you think i should look for areas of improvements?


There could be many reasons for slow loading and there are many tools to find where performance is killing. You can try FireBug to see what part of your page is taking time to slow. It could be a missing js, css or image for which browser is keeping waiting to load ....

see attached sample of FireBug

Make sure all tags are properly closed. Its an overhead on browser to fix unclosed tags which results in slow html rendering.

Another tool, I recently saw is JAMon. This is something which will directly locate the piece of code taking time to load/execute.

fire-bug.png
[Thumbnail for fire-bug.png]
 
Vikrama Sanjeeva
Ranch Hand
Posts: 760
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, there is a standard/recommended way of adding css and js in pages. You should follow this sequence. I am not sure what is exact sequence. I think css should be included before js. Please google.
 
Ram Narayan.M
Ranch Hand
Posts: 247
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes... Its advisable to place css inclusions before Body tag starts and placing JavaScripts below the Body tag... The more logic you burden in JavaScripts , the more time taken by Browser to load the page... Then, JavaScripts execution speed differs among the browsers... So, Some browsers load your page comparatively fast
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!