程式設計雜筆

[程設雜筆] Loading Non-Blocking javascript with HTML5——async和defer的差異

之前一直搞不懂async和defer的差別,現在終於弄懂了。

直接上網址吧:

async vs defer

http://blog.xuite.net/vexed/tech/61308318-script+tag+%E5%B1%AC%E6%80%A7+async+defer+%E5%B7%AE%E5%88%A5

http://peter.sh/experiments/asynchronous-and-deferred-javascript-execution-explained/

http://www.sitepoint.com/non-blocking-async-defer/

document.write()

http://www.w3schools.com/jsref/met_doc_write.asp

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s