jQuery Script included at bottom of page in mvc 4 template

后端 未结 3 529
情书的邮戳
情书的邮戳 2021-01-18 12:34

I was looking at the MVC 4 release candidate and the default Internet template that is included. I noticed that in the _Layout.cshtml, they are including the jQuery bundle a

3条回答
  •  无人共我
    2021-01-18 13:02

    This is generally done for performance. Look at the Yahoo performance guidelines.

    http://developer.yahoo.com/performance/rules.html/

    They explain why scripts can be better at the bottom.

提交回复
热议问题