hm 发帖数: 14 | 1 现在load进来的页面速度狂慢,难以忍受
可能因为用了javascript library
有人知道如何能让网页load的速度快些吗? |
g*****g 发帖数: 34805 | 2 I guess you are talking about web, not web service.
And yes, big ajax lib does make it slow.
Gmail, yahoo mail is only about 200KB for their main
page, everything included.
【在 hm 的大作中提到】 : 现在load进来的页面速度狂慢,难以忍受 : 可能因为用了javascript library : 有人知道如何能让网页load的速度快些吗?
|
A**o 发帖数: 1550 | 3 Yahoo Mail beta sucks so much...
【在 g*****g 的大作中提到】 : I guess you are talking about web, not web service. : And yes, big ajax lib does make it slow. : Gmail, yahoo mail is only about 200KB for their main : page, everything included.
|
h**d 发帖数: 474 | 4 hehe...I still use the old version:)
【在 A**o 的大作中提到】 : Yahoo Mail beta sucks so much...
|
hm 发帖数: 14 | 5 yeah..you are right
the front end web page loading speed
在loading page中,有好几十秒页面空白,想减少到5秒
不知道firefox空白的时候在程序的哪里干嘛呢
要是知道他在哪个地方卡住了
就可以优化一下那个地方
谁知道有啥工具可以debug/track页面loading中的performance吗?
试了几个测试工具都没有
【在 g*****g 的大作中提到】 : I guess you are talking about web, not web service. : And yes, big ajax lib does make it slow. : Gmail, yahoo mail is only about 200KB for their main : page, everything included.
|
g*****g 发帖数: 34805 | 6 firebug, check the net tag, it breakes down the loading time.
【在 hm 的大作中提到】 : yeah..you are right : the front end web page loading speed : 在loading page中,有好几十秒页面空白,想减少到5秒 : 不知道firefox空白的时候在程序的哪里干嘛呢 : 要是知道他在哪个地方卡住了 : 就可以优化一下那个地方 : 谁知道有啥工具可以debug/track页面loading中的performance吗? : 试了几个测试工具都没有
|
hm 发帖数: 14 | 7 I compressed all the .js and .jsp files and it did absolutely nothing for pe
rformance.:(
【在 g*****g 的大作中提到】 : firebug, check the net tag, it breakes down the loading time.
|
g*****g 发帖数: 34805 | 8 Well, it did for me by only making images smaller.
pe
【在 hm 的大作中提到】 : I compressed all the .js and .jsp files and it did absolutely nothing for pe : rformance.:(
|
A**o 发帖数: 1550 | 9 how large is your page after page loaded?
10k, 100k, or 500k? do you download all the js/css/img everytime?
pe
【在 hm 的大作中提到】 : I compressed all the .js and .jsp files and it did absolutely nothing for pe : rformance.:(
|
c*****t 发帖数: 1879 | 10 1. check how much time your jsp get processed. Do this first.
2. profile each JavaScript used and see how long each takes.
taking even 5 sec to load a page is too long.
【在 hm 的大作中提到】 : 现在load进来的页面速度狂慢,难以忍受 : 可能因为用了javascript library : 有人知道如何能让网页load的速度快些吗?
|
m******t 发帖数: 2416 | 11
coconut has a good point. If it stays entirely blank for tens of seconds, it
's more likely something on your server side that's taking very long to
render the page.
Another possible cause is if the page has some 3rd party javascript embedded
that calls some other web site, e.g. google adsense, and that site happens
to have some performance issues, that would cause visible delay on your page
as well.
【在 hm 的大作中提到】 : yeah..you are right : the front end web page loading speed : 在loading page中,有好几十秒页面空白,想减少到5秒 : 不知道firefox空白的时候在程序的哪里干嘛呢 : 要是知道他在哪个地方卡住了 : 就可以优化一下那个地方 : 谁知道有啥工具可以debug/track页面loading中的performance吗? : 试了几个测试工具都没有
|