| 订阅 | 在线投稿
分享
 
 
当前位置: 王朝网络 >> other >> Web ying yong you hua ji qiao
 

Web ying yong you hua ji qiao

2008-12-28 07:39:36 编辑來源:互联网 评论
 
本文为【Web应用优化技巧】的拼音翻译版
  zuo zhe :Fenng| ke yi zhuan zai , zhuan zai shi wu bi yi chao lian jie xing shi biao ming wen zhang yuan shi chu chu he zuo zhe xin xi ji ban quan sheng ming
  wang zhi :http://www.dbanotes.net/web/flickr_web_tech.html
  Cal Henderson shi da ming ding ding de Flickr wang zhan de kai fa zhe zhi yi . zai yi pian ming wei Serving JavaScript Fast de wen zhang zhong , ta jie shao le yong yu Flickr zhan dian ying yong you hua de ji qiao , du ba gan jiao huo yi liang duo ." jue yi xia bie ren de mo ", gai kuo yi xia gai wen de zhu yao nei rong .
  Flickr shi Web 2.0 de dai biao zhan dian 。 mian dui de wang luo wen ti chu le yi ban Web zhan dian dou hui you de nei rong you hua zhi wai , huan you bi xu yao ling huo chu li JavaScript yu CSS de pin fan bian hua hou bu shu fen fa dai lai de fu duo xing 。
  she ding wen jian da xiao de ce lue shou xian mian lin de yi ge wen ti shi ba suo you de JavaScript yu CSS fang dao yi ge wen jian zhong hao ne , huan shi fen ge cheng duo ge wen jian ? cong jian shao wang luo qing qiu de jiao du shang kao lv , qian zhe geng hao , hou zhe cha 。 dan shi cong bing xing de jiao du kao lv ,IE yu Firefox mo ren qing kuang xia dou zhi neng tong shi cong yi ge yu qing qiu liang ge zi yuan . zhe hui zai hen duo qing kuang xia gei yong hu dai lai bu liang de shi yong ti yan -- bi xu suo you de wen jian dou xia zai wan bi cai ke yi kan dao xiang yang de ye mian . Flickr cai yong le zhe zhong de ban fa -- zai bao chi wen jian shu liang jin ke neng shao de qing kuang xia , ba JavaScript yu CSS fen cheng duo ge zi wen jian . zhe zai kai fa shang dai lai le fu duo xing , dan shi dui xing neng de shou yi shi ju da de 。
  ya suo de you hua wen ti hao wu yi wen , dui zhan dian nei rong jin xing ya suo shi yi ge bi jiao chang yong de Web you hua shou duan . dan shi bing bu yi ding dou neng da dao li xiang de xiao guo . yuan yin zai yu mod-gzip mo kuai bu dan xiao hao fu wu qi duan CPU zi yuan , ye xiao hao ke hu duan CPU zi yuan . er qie , mod_gzip ya suo wen jian hou chuang jian de lin shi wen jian shi fang dao ci pan shang de , zhe ye hui gei ci pan IO dai lai yan chong de wen ti . Flickr cai yong de shi Httpd 2.x yi hou zhi chi de mod_deflate mo kuai . ya suo cao zuo dou zai nei cun zhong jin xing .mod_deflate zai Httpd 1.x shi bu ke yong de , bu guo ke yi tong guo chuang jian RAM pan de fang shi lai jian jie ti gao xing neng .
  dang ran , mod_gzip dao ye bu shi yi wu shi chu , dui yu yu ya suo de wen jian , huan shi you hao chu de . er qie , cai yong ya suo de shi hou , ye yao zhu yi ce lue . tu pian wen jian ya suo jiu mei shen me bi yao le (Flickr shang tu xiang duo , er qie ya suo de bu dao shen me hao chu ). Flickr zhi dui JavaScript he CSS jin xing ya suo . mod_gzip xin yi dian de ban ben neng gou zi dong tong guo pei zhi mod_gzip_update_static xuan xiang zi dong chu li yu ya suo de wen jian . Cal ye zhi chu zhe ge te xing zai yi xie jiu ban ben de liu lan qi shang hui chu wen ti .
  ya suo de ling yi ge zhu yao shou duan shi nei rong de ya suo . zhen dui JavaScript ke yi jin xing tong guo jian shao zhu shi 、 he bing kong ge 、 shi yong jin cou de yu fa deng xiao ji qiao (Google de suo you jiao ben dou fei chang nan du , er qie fei chang jin cou , si xiang lei si ). dang ran , jing guo zhe yang chu li de JavaScript ke neng dai le hen duo kuo hao bu rong yi jie xi ,Flickr shi yong le Dojo Compressor lai gou jian jie xi shu 。Dojo Compressor kai xiao hen di , er qie dui yu zui zhong yong hu shi tou ming de . JavaScript de chu li fang fa jie shao guo ,CSS chu li ze xiang dui jian dan . tong guo jian dan de zheng ze biao da shi ti huan ( bi ru ba duo ge kong ge ti huan wei yi ge kong ge fu ), zui gao ke yi huo de 50% de ya suo bi 。
  Caching de you hua Flickr de kai fa zhe chong fen li yong le Http 1.1 gui fan ding yi de Etag yu Last-Modified ji zhi lai ti gao Caching de xiao lv . zhi de zhu yi de shi ,Cal jie shao le yi ge zai fu zai yun heng tiao jian xia de e-Tag xiao ji qiao . ji ke yi she ding Apache tong guo wen jian tiao zheng shi jian yu wen jian da xiao huo de E-Tag , er mo ren qing kuang xia , Apache shi tong guo wen jian jie dian huo qu e-Tag de 。 dang ran , zhe ye bu shi hen wan mei , yin wei hui ying xiang if-modified-since 。
  ling huo yun yong mod_rewrite ju shuo Flickr wang zhan ying yong shi jin xing mei ri gou jian de (Daily Build)。 ru guo mei you yi ge ling huo de ji zhi kong pa zhe shi bu ke xiang xiang de 。 er qie , zai Flickr zhe yang de zhan dian , nei rong de xiu gai tong bu de chu li dou shi hen rang ren tou teng de nan ti . ta men de li qi shi mod_rewrite de ling huo yun yong 。 tong guo pei zhi URL chong xie gui ze , hen rong yi qie huan dao bu tong de huan jing xia 。 ting qi lai hen jian dan , dan shi mei you yi ding de Web ji shu gong li tan he rong yi zuo dao ?!
  tong guo zhe ji ge zhu yao fang fa de yun yong , wo men kan dao le ru meng huan yi ban gao xing neng de Flickr.
  BTW: yin wei zai Flickr zai guo nei mei you fu wu qi , da lu yong hu fang wen de su du jiu bie ti le :(
  --End.
  zhe pian 【Flickr de kai fa zhe de Web ying yong you hua ji qiao 】 lai zi dbanotes.net【原文】【汉音对照
 
 
 
 
 
 
 
 
日版宠物情人插曲《Winding Road》歌词

日版宠物情人2017的插曲,很带节奏感,日语的,女生唱的。 最后听见是在第8集的时候女主手割伤了,然后男主用嘴帮她吸了一下,插曲就出来了。 歌手:Def...

兄弟共妻,我成了他们夜里的美食

老钟家的两个儿子很特别,就是跟其他的人不太一样,魔一般的执着。兄弟俩都到了要结婚的年龄了,不管自家老爹怎么磨破嘴皮子,兄弟俩说不娶就不娶,老父母为兄弟两操碎了心...

如何磨出破洞牛仔裤?牛仔裤怎么剪破洞?

把牛仔裤磨出有线的破洞 1、具体工具就是磨脚石,下面垫一个硬物,然后用磨脚石一直磨一直磨,到把那块磨薄了,用手撕开就好了。出来的洞啊很自然的。需要猫须的话调几...

我就是扫描下图得到了敬业福和爱国福

先来看下敬业福和爱国福 今年春节,支付宝再次推出了“五福红包”活动,表示要“把欠大家的敬业福都还给大家”。 今天该活动正式启动,和去年一样,需要收集“五福”...

冰箱异味产生的原因和臭味去除的方法

有时候我们打开冰箱就会闻到一股异味,冰箱里的这种异味是因为一些物质发出的气味的混合体,闻起来让人恶心。 产生这些异味的主要原因有以下几点。 1、很多人有这种习...

 
 
zuo zhe :Fenng| ke yi zhuan zai , zhuan zai shi wu bi yi chao lian jie xing shi biao ming wen zhang yuan shi chu chu he zuo zhe xin xi ji ban quan sheng ming wang zhi :http://www.dbanotes.net/web/flickr_web_tech.html Cal Henderson  shi da ming ding ding de Flickr wang zhan de kai fa zhe zhi yi . zai yi pian ming wei Serving JavaScript Fast de wen zhang zhong , ta jie shao le yong yu Flickr zhan dian ying yong you hua de ji qiao , du ba gan jiao huo yi liang duo ." jue yi xia bie ren de mo ", gai kuo yi xia gai wen de zhu yao nei rong . Flickr shi Web 2.0 de dai biao zhan dian 。 mian dui de wang luo wen ti chu le yi ban Web zhan dian dou hui you de nei rong you hua zhi wai , huan you bi xu yao ling huo chu li JavaScript yu CSS de pin fan bian hua hou bu shu fen fa dai lai de fu duo xing 。 she ding wen jian da xiao de ce lue shou xian mian lin de yi ge wen ti shi ba suo you de JavaScript yu CSS fang dao yi ge wen jian zhong hao ne , huan shi fen ge cheng duo ge wen jian ? cong jian shao wang luo qing qiu de jiao du shang kao lv , qian zhe geng hao , hou zhe cha 。 dan shi cong bing xing de jiao du kao lv ,IE yu Firefox mo ren qing kuang xia dou zhi neng tong shi cong yi ge yu qing qiu liang ge zi yuan . zhe hui zai hen duo qing kuang xia gei yong hu dai lai bu liang de shi yong ti yan -- bi xu suo you de wen jian dou xia zai wan bi cai ke yi kan dao xiang yang de ye mian . Flickr cai yong le zhe zhong de ban fa -- zai bao chi wen jian shu liang jin ke neng shao de qing kuang xia , ba JavaScript yu CSS fen cheng duo ge zi wen jian . zhe zai kai fa shang dai lai le fu duo xing , dan shi dui xing neng de shou yi shi ju da de 。 ya suo de you hua wen ti hao wu yi wen , dui zhan dian nei rong jin xing ya suo shi yi ge bi jiao chang yong de Web you hua shou duan . dan shi bing bu yi ding dou neng da dao li xiang de xiao guo . yuan yin zai yu mod-gzip mo kuai bu dan xiao hao fu wu qi duan CPU zi yuan , ye xiao hao ke hu duan CPU zi yuan . er qie , mod_gzip ya suo wen jian hou chuang jian de lin shi wen jian shi fang dao ci pan shang de , zhe ye hui gei ci pan IO dai lai yan chong de wen ti . Flickr cai yong de shi Httpd 2.x yi hou zhi chi de  mod_deflate mo kuai . ya suo cao zuo dou zai nei cun zhong jin xing .mod_deflate zai Httpd 1.x shi bu ke yong de , bu guo ke yi tong guo chuang jian RAM pan de fang shi lai jian jie ti gao xing neng . dang ran , mod_gzip dao ye bu shi yi wu shi chu , dui yu yu ya suo de wen jian , huan shi you hao chu de . er qie , cai yong ya suo de shi hou , ye yao zhu yi ce lue . tu pian wen jian ya suo jiu mei shen me bi yao le (Flickr shang tu xiang duo , er qie ya suo de bu dao shen me hao chu ). Flickr zhi dui JavaScript he CSS jin xing ya suo . mod_gzip xin yi dian de ban ben neng gou zi dong tong guo pei zhi mod_gzip_update_static xuan xiang zi dong chu li yu ya suo de wen jian . Cal ye zhi chu zhe ge te xing zai yi xie jiu ban ben de liu lan qi shang hui chu wen ti . ya suo de ling yi ge zhu yao shou duan shi nei rong de ya suo . zhen dui JavaScript ke yi jin xing tong guo jian shao zhu shi 、 he bing kong ge 、 shi yong jin cou de yu fa deng xiao ji qiao (Google de suo you jiao ben dou fei chang nan du , er qie fei chang jin cou , si xiang lei si ). dang ran , jing guo zhe yang chu li de JavaScript ke neng dai le hen duo kuo hao bu rong yi jie xi ,Flickr shi yong le Dojo Compressor lai gou jian jie xi shu 。Dojo Compressor kai xiao hen di , er qie dui yu zui zhong yong hu shi tou ming de . JavaScript de chu li fang fa jie shao guo ,CSS chu li ze xiang dui jian dan . tong guo jian dan de zheng ze biao da shi ti huan ( bi ru ba duo ge kong ge ti huan wei yi ge kong ge fu ), zui gao ke yi huo de 50% de ya suo bi 。 Caching de you hua Flickr de kai fa zhe chong fen li yong le Http 1.1 gui fan ding yi de Etag yu Last-Modified ji zhi lai ti gao Caching de xiao lv . zhi de zhu yi de shi ,Cal jie shao le yi ge zai fu zai yun heng tiao jian xia de e-Tag xiao ji qiao . ji ke yi she ding Apache tong guo wen jian tiao zheng shi jian yu wen jian da xiao huo de E-Tag , er mo ren qing kuang xia , Apache shi tong guo wen jian jie dian huo qu e-Tag de 。 dang ran , zhe ye bu shi hen wan mei , yin wei hui ying xiang if-modified-since 。 ling huo yun yong mod_rewrite ju shuo Flickr wang zhan ying yong shi jin xing mei ri gou jian de (Daily Build)。 ru guo mei you yi ge ling huo de ji zhi kong pa zhe shi bu ke xiang xiang de 。 er qie , zai Flickr zhe yang de zhan dian , nei rong de xiu gai tong bu de chu li dou shi hen rang ren tou teng de nan ti . ta men de li qi shi mod_rewrite de ling huo yun yong 。 tong guo pei zhi URL chong xie gui ze , hen rong yi qie huan dao bu tong de huan jing xia 。 ting qi lai hen jian dan , dan shi mei you yi ding de Web ji shu gong li tan he rong yi zuo dao ?! tong guo zhe ji ge zhu yao fang fa de yun yong , wo men kan dao le ru meng huan yi ban gao xing neng de Flickr. BTW: yin wei zai Flickr zai guo nei mei you fu wu qi , da lu yong hu fang wen de su du jiu bie ti le :( --End. zhe pian 【Flickr de kai fa zhe de Web ying yong you hua ji qiao 】 lai zi dbanotes.net
󰈣󰈤
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
越来越漂亮的楚楚(7)
越来越漂亮的楚楚(6)
越来越漂亮的楚楚(5)
越来越漂亮的楚楚(4)
共长一色
水中莲
峰林晚照
远离喧嚣——山村小景
 
>>返回首页<<
 为你推荐
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
 
 
©2005- 王朝网络 版权所有