20170207

2018-01-04  本文已影响0人  littleteapot

1.base 64 图片编码
Data url

  1. Promise
    Promise MDN-en
    Promise MDN-zh
    eg: 使用XHR加载图像

3.insertAjacentHTML
添加HTML内容与文本内容
[insertAdjacentHTML方法详解]
有四种值可用:

  1. beforeBegin: 插入到标签开始前
    
  2. afterBegin:插入到标签开始标记之后
    
  3. beforeEnd:插入到标签结束标记前
    
  4. afterEnd:插入到标签结束标记后
    

4.URL.createObjectURL()
返回一个新的URL 对象表示着指定的 File
对象或者 Blob
对象
URL.createObjectURL()

5.DomContentLoad
IEContentLoad
DomContentLoad: stylesheets block scripts

DOMContentLoaded and stylesheets overview

CSS/JS 对Dom渲染的影响http://blog.csdn.net/tonyxf121/article/details/7283319

6.浏览器渲染

像素渲染流水线
理解关键的渲染路径

7.How to use Chrome timeline

8.Flash跨域问题
allowScriptAccess 使 Flash 应用程式可和其所在的 HTML 页通信,默认值sameDomain

9.性能优化
http://developer.51cto.com/art/201207/347525.htm
https://developer.yahoo.com/performance/rules.html#num_http
网页性能管理详解
使用requestAnimationFrame,requestIdleCallback

上一篇 下一篇

猜你喜欢

热点阅读