Performance is critical to the success of any web site, and yet today's web applications push browsers to their limits with increasing amounts of rich content and heavy use of Ajax. In this book, Steve Souders, web performance evangelist at Google and former Chief Performance Yahoo!, provides valuable techniques to help you optimize your site's performance. Souders' previous book, the bestselling High Performance Web Sites, shocked the web development world by revealing that 80% of the time it takes for a web page to load is on the client side. In Even Faster Web Sites, Souders and eight expert contributors provide best practices and pragmatic advice for improving your site's performance in three critical categories: *JavaScript-Get advice for understanding Ajax performance, writing efficient JavaScript, creating responsive applications, loading scripts without blocking other components, and more. *Network-Learn to share resources across multiple domains, reduce image size without loss of quality, and use chunked encoding to render pages faster. *Browser-Discover alternatives to iframes, how to simplify CSS selectors, and other techniques. Speed is essential for today's rich media web sites and Web 2.0 applications. With this book, you'll learn how to shave precious seconds off your sites' load times and make them respond even faster. This book contains six guest chapters contributed by Dion Almaer, Doug Crockford, Ben Galbraith, Tony Gentilcore, Dylan Schiemann, Stoyan Stefanov, Nicole Sullivan, and Nicholas C. Zakas.
Steve Souders现在Google工作,负责Web性能和开源组织。他是Firebug的性能分析扩展YSlow的创建者,也是O’Reilly Web性能与运作会议Velocity的联合主席。Steve经常在技术会议和诸如Microsoft、Amazon、MySpace、
LinkedIn和Facebook这样的知名高科技公司发表演讲。
特约作者:
Dion Almaer, Douglas Crockford,
Ben Galbraith, Tony Gentilcore,
Dylan Schiemann, Stoyan
Stefanov, Nicole Sullivan, and
Nicholas C. Zakas
TimersarethedefactostandardforsplittingupJavaScriptcodeexecutioninbrowsers.Wheneverascriptistakingtoolongtocomplete,looktodelaypartsoftheexecutionuntillater.Notethatverysmalltimerdelayscanalsocausethebrowsertobecomeunresponsive.It’srecommendedtoneveruseadelayofzeromilliseconds,asthisisn’tenoughtimeforallbrowserstoproperlyupdatetheirdisplay.Ingeneral,delaysbetween50and100millisecondsareappropriateandallowbrowsersenoughidletimetoperformnecessarydisplayupdates.
——引自第104页
bydefault,allfunctionspassedintosetTimeoutarerunintheglobalcontext,sothisisequaltowindow.
——引自第106页
遠流╳師大譯研所「經典文學新譯計畫」NO.2計畫主持人師大譯研所長賴慈芸計畫顧問台灣翻譯學會執行長蘇正隆在一個語言墮落的時代,作家必須保持自己的獨立性,在抵抗暴...
周文翰,艺术和建筑评论家、作家。曾任《财经时报》《新京报》文化记者,后赴印度、西班牙、东南亚等地旅行和写作,2011年至今从事文化研究和艺术展览策划。出版有《中...
Investigatingtherelationshipbetweenhealthandbehaviorinadolescents,thisvolumepres...
接触硬化胶凝材料及复合材料 内容简介 本书阐述了制备人造石的新式工艺——接触硬化工艺的基本原理。详述了接触硬化胶凝材料的制备方法、工艺参数、制品性能及应用领域。...
戴维•林道夫(David Lindorff,Ph.D.),博士,工程师,荣格心理学分析师。他年轻时在麻省理工学院学习。在第二次世界大战期间,他加入了美国麻省理工...
傅剛,北京大學中文系教授,博士生導師。主要著作有《魏晉南北朝詩歌史論》、《魏晉風度》、《昭明文選研究》、《文選版本研究》、《蕭統評傳》(合著)、《歷代文學名篇....
本书按照时间顺序,介绍了从18世纪工业革命开始至今,世界范围内有关设计的关键发展、运动及实践者,深入分析了各个时期的代表作品,将设计置于不同的技术、文化、经济、...
爱新觉罗·毓鋆(1906-2011) 清朝礼亲王代善裔孙,外界都敬称他为“毓老”而不名。毓老自幼受宫廷教育,末代皇帝溥仪伴读。师从陈宝琛、罗振玉、柯劭、王国维、...
损容疾病中医外治法 内容简介 21世纪的今天,随着人们生活水平的不断提高,美化生活,追求健美已成为当今的一种时尚主流。中医对损容疾病的认识有着十分悠久的历史,千...
《企业人力资源管理师(二级)》内容简介:本书是根据企业人力资源管理师国家职业资格培训教程的要求而编写的一本同步辅导用书。企
李霄雪国际超模。曾签约纽约排名第二的模特经纪公司Elite Model Management,多次参加Chanel、Dior、Gucci等品牌的时尚大秀。明星私...
DanielDennettisoneofthemostinfluentialthinkersattheinterfacebetweenphilosophyand...
作品目录前言《当代毕升——王选》选题策划 林霞虹《俄罗斯艺术地图》选题策划 沈启超《我在网上开店》选题策划 陈菲芝《和谐社
Named by The Washington Post as one of the 11 Leadership Books to Read in 2018 W...
《工业4.0实践精要》内容简介:工业4.0是正在发生的由信息技术创新和制造业业务流程深度融合的一次工业革命。成功转型升级的企业将
唐宋诗鉴赏辞典--中华诗文鉴赏典丛(平装) 本书特色 中华诗文鉴赏辞典类图书是一套重在普及、雅俗共赏的图书。中国是一个诗词的国度,古典诗词源远流长,荟萃了中华民...
C.S.路易斯(1898-1963),是20世纪英国一位具有多方面天才的作家。他26岁即登牛津大学教席,被当代人誉为“伟大的牛津人”。1954年,他被剑桥大学聘...
陆蓉“得到”App课程“陆蓉·行为金融学”主理人。教育部“新世纪优秀人才”、上海市“曙光学者”,连续破格晋升为博士生导师和教授。上海财经大学金融学讲席(首席)教...
LizCummingstravelstoUrbino,Italy,withateamofresearchersfromtheUniversityMuseumof...
晚年钱穆自述一生深入历史细节的温情叙述,走进不为人知的大师日常一代文人在乱世的颠沛聚散,一部中国20世纪时代风云录◎编辑推荐(作品看点)1.大师,原来如此亲切:...