渴切-开源中文css框架之Google在web前端方面经验.ppt
Ill do JavaScript and PHP implementations of this logic soon. * Permission to use photo given by Reciprocity: /photos/alanjaras * Data source: Steve Souders * Newer browsers (IE8, Saf4, Chr2) work, but mainstream browsers need a workaround. * Newer browsers (IE8, Saf4, Chr2) work, but mainstream browsers need a workaround. * putting code in the script block doesnt work in any browser; you have to add stuff to the external script this doesnt load asynchronously * Newer browsers (IE8, Saf4, Chr2) work, but mainstream browsers need a workaround. * Newer browsers (IE8, Saf4, Chr2) work, but mainstream browsers need a workaround. * loadInterval is 420 ms * Joseph Smarr from Plaxo advocates interspersing setTimeout through JavaScript threads every n00 ms. * Data source: Steve Souders * 72 years = 2,270,592,000 seconds = 500ms * 4.4B page views * 72 years = 2,270,592,000 seconds = 500ms * 4.4B page views * 72 years = 2,270,592,000 seconds = 500ms * 4.4B page views * 72 years = 2,270,592,000 seconds = 500ms * 4.4B page views * * thank you by nj dodge: /photos/nj_dodge/187190601/ * flush the document early gotchas: PHP output_buffering – ob_flush() Transfer-Encoding: chunked gzip – Apaches DeflateBufferSize before 2.2.8 proxies and anti-virus software browsers – Safari (1K), Chrome (2K) other languages: $| or FileHandle autoflush (Perl), flush (Python), ios.flush (Ruby) html image image script html image image script call PHPs flush() flushing and domain blocking you might need to move flushed resources to a domain different from the HTML doc html image image script html image image script google image image script image 204 case study: Google search blocked by HTML document different domains takeaways focus on the frontend run YSlow: /yslow this years focus: JavaScript speed matters impact on revenue Google: Yahoo: Amazon: 1 /~glinden/StanfordDataMining.2006-11-29.ppt 2 /stoyan/yslow-20-presentation +500 ms ? -20% traffic1 +400 ms ? -5-9% fulltraffic2 +10
您可能关注的文档
- 涉众分析硬数据采样.ppt
- 涉及人体试验研究分析项目申请书.doc
- 涉及房地产执行异议案件在实践中应用探讨研究分析.doc
- 涡流反应器论文:微涡流絮凝技术实验研究分析其应用.doc
- 润滑油添加剂制备和性能研究分析.doc
- 涧河小学作业设计指导.doc
- 液位流量前馈反馈控制设计调试开题报告.doc
- 液压传动是以液体作为工作介质对能量进行传动和控制....doc
- 液压传动系统设计业论文.doc
- 液压气动系统装调维护.doc
- (2026春新版)部编版八年级语文下册《第一单元》PPT课件.pptx
- 2018电力监控系统网络安全监测装置技术规范.docx
- 2022电力监控系统安全防护方案审核要点.docx
- 2014电力电缆光伏系统EN 50618欧标.docx
- (2026春新版)人教版二年级数学下册《第三单元 万以内数的认识》教案.docx
- (2026春新版)人教版二年级数学下册《第四单元 万以内的加法和减法》教案.docx
- (2026春新版)人教版二年级数学下册《综合与实践 时间在哪里》教案.docx
- (2026春新版)苏教版二年级数学下册《综合与实践 时间有多长》教案 .pdf
- (2026春新版)部编版三年级语文下册第3单元(教案).docx
- (2026春新版)部编版三年级语文下册第8单元(教案).docx
原创力文档

文档评论(0)