开发者

Script references in MasterPage or individual pages?

I there any benefit to putting the javascript references in indiv开发者_运维知识库idual pages vs the master page in terms of number of reloads and data transfer?


I'm assuming this is ASP.Net. Given that, no benefit. The master page and the individual page are both processed on the server side and send across as HTML. There will be a benefit of reduced loads/reduced data transfer if you enable caching of the javascript files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜