• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WebSite page going slow

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please ask your question in a new thread and don't hijack this one.
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Answered the "what is bandwidth" question here
 
Ranch Hand
Posts: 782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 247
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic