Internet Explorer 浏览器在同一时刻只能从同一域名下载两个文件。

  至于原因请见 MSDN Blogs:《Internet Explorer and Connection Limits》,如何解除限制请见微软客户帮助与支持主页:《如何将 Internet Explorer 配置为可以同时进行两个以上的下载会话》。

  不管 Firefox 有多火,无可否认,IE 仍然是浏览器市场的老大。所以,在做系统架构时,不得不去考虑 IE 同时只能从同一域名下载两个文件的限制。如果超过两个文件,IE 将会以队列形式等待两个文件下载完毕,再去下载接下来的两个文件。这样,当在一个页面显示多张图片时,IE 用户的图片下载速度就会受到影响。

  百度、新浪、雅虎等网站采用了同一组图片服务器,使用多个二级域名的方式来解决这个问题。

  通过 HttpWatch Professional 5.2.17 分析可以看出,百度的图片搜索采用了 t1.baidu.com ~ t8.baidu.com 八个域名来显示图片,消耗在 IE 浏览器端的 Blocked 时间小于0.001秒,非常快。

  点击在新窗口中浏览此图片


  新浪的图片 CDN 同样采用了 i0.sinaimg.cn ~ i3.sinaimg.cn 四个域名来显示图片,消耗在 IE 浏览器端的 Blocked 时间也是0.001秒。新浪采用独立的顶级域名 sinaimg.cn 而非 ***.sina.com.cn 域名作为图片服务器域名,还有一个好处,就是 sina.com.cn 域下的 Cookie 信息不会被带到 sinaimg.cn 域下,提高了图片服务器解析 header 头的速度。

  点击在新窗口中浏览此图片


  再看网易相册的一组图片服务器,只使用 pics.photo.163.com 一个域名,消耗在 IE 浏览器端的 Blocked 时间为0.647秒,就比较慢了。

  点击在新窗口中浏览此图片






技术大类 » Web服务器 | 评论(68) | 引用(1) | 阅读(84593)
sheepchang Email
2008-5-2 08:35
今天是你大婚的喜庆日子,祝你新婚快乐,早生贵子!grin
看看我写的这个 分布式图片上传存储浏览解决方案 http://www.svnhost.cn/Article/Detail-62.shtml
一笑而过
2008-7-10 19:12
支持。。
handan Email Homepage
2008-7-17 16:11
我目前在做一个WebGIS的地图程序,会涉及到下载多个图片,
当拖动的时候,Client需要请求服务器上的图片,图片是动态生成的,但是当缩放级别大于12的时候,地图就开始不显示,需要鼠标点击一下,才可以显示,我不知道这是什么原因,Firefox下是完全正常的,我不知道是否和你描述的情况一样!
这个问题,我换不知道怎么解决,谢谢!
TanCee Homepage
2008-9-7 20:09
学习了。
HH
2008-10-27 17:18
图片有大有小,方法纯属误导
张宴 回复于 2008-10-27 17:27
请注意 图中的 Blocked 时间

另外,按你的说法,就算图片有大有小,通过receive值可以看出,但百度、新浪的图片比网易还大,耗费的时间却是0.0x秒,而网易的是0.x秒。
newbie
2008-10-29 13:15
想请教一下, 在页面中如何调用这些独立的服务器,是随机选择吗?
或者是其他的技术方式。要是有推荐我读的资料就更好了。

经常看你的blog。非常感谢。
sfss
2009-6-17 07:50
fwe
2009-6-17 13:02
Ophone Homepage
2009-7-2 11:15
原来如此
aaa
2009-9-10 10:32
超级便宜的机票网站.
aaa
2009-9-10 10:33
超级便宜的机票网站.
Victor Email
2010-2-25 10:31
只有一台web服务器的情况下,如果我使用rewrite,改写图片链接到另一个二级域名,同时在服务器上面添加一个vhost,这样子会提高访问效率么?我尝试了一下,Yslow测完分数还降低了,因为重定向消耗了更多的时间,有没有更好的办法,在不改动程序的情况下实现呢?
dgfgh
2010-4-17 15:56
谢谢学到东西了,我也想着舒服,穿件http://www.51ggs.com/zhizuo.htm" target="_blank">T恤衫就上场吧
jianzi Email Homepage
2010-5-2 16:53
为什么我优化了之后会出现很多的206状态呢????
bdnet Email
2010-6-12 23:12
一直有个疑问,图片加速还搞个特别的独立域名,还分了数个二级域名,原来用以如此,看了这篇文,haha…
Ie就是麻烦,诶,谁叫他是老大捏。zan
dresses Email Homepage
2011-7-26 10:09
Here are a variety of the empire <a href="http://www.romancearound.com/">dresses</a>, I want to introduce yourself. The first shoulder chiffon <a href="http://www.romancearound.com/bridesmaid-dresses-c-197.html">bridesmaid dresses</a> empire style wedding will <a href="http://www.romancearound.com/wedding-dresses-trumpet-wedding-dresses-c-180_253.html">trumpet wedding dresses</a>.This Tia cowries, dressed in her wedding day.Chiffon of the empire the best clothes, because they are the size of the drum as complete motion from the wind the site makes it easy to create a plan impression.One romantic flowers floating above shoulder function and help catch the eyes of the cut of the chest and neck problems, so that more comprehensive coverage of physical illusion bust.Clothing do not like big long torso, short legs, or pear-shaped<a href="http://www.romancearound.com/bridesmaid-dresses-ankle-length-bridesmaid-dresses-c-197_198.html">ankle length bridesmaid dresses</a> figure.special is also suitable for pregnant brides since the mobility as a dress can accommodate more Many of the abdomen.
louis vuitton uk Email Homepage
2011-11-23 08:59
This louis vuitton uk for sale belongs to the sounding just what are termed as Louis Vuitton vintage best sellers, many other products and services for the reason that range appearing companies.You will easily notice the unfold zippers of this coach outlet store online. That is the decoration. There are some inside pockets for you as well. They are easy to match your clothes and to carry.Let us inspire your inner beauty with fine christian louboutin sale. Purse the elegance in bridal wedding. Enjoy the fashion.
coach factory outlet Email Homepage
2012-5-17 11:24
Today, following half a century, mentor leather-bases coach factory outlet continues to be the delicate craft of leather-based master is accountable for,Would you like to meet more friends, or go with the times? If yes, coach factory online is opening welcome doors to you.in the market you definitely can find various colorways that are designed in as well as the high quality that applied in. For most of you would like to come. So just come to our coach factory outlet online store to choose one.
louis vuitton sale Email Homepage
2012-5-17 11:24
Louis Vuitton belt at louis vuitton sale is one kind of fashion accessory with high cost performance among the Louis Vuitton accessories.Offering quality LV products with favorable prices, louis vuitton outlet store is at your service. Hurry up, or you can not seize the chance.in fact, louis vuitton is one of the most famous fashion design master.he opened the fist suitcase shop called after his name.
coach outlet online Email Homepage
2012-5-17 11:24
I heard of coach outlet online through the advertisement when I was shopping. And now I often brow the webpage and buy Coach bags online.It is a symbol regarding position not to mention nature.Here I would like to launch a excellent bags pertaining to business men.Which may be coach outlet store.coach outlet has always been simple,durable style features to win consumers.The products are more flexible,with easy bleaching,wear characteristics,and simply use a damp cloth.
分页: 2/4 第一页 上页 1 2 3 4 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]