开发者

Script references in MasterPage or individual pages?

开发者 https://www.devze.com 2022-12-10 06:49 出处:网络
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 th

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

精彩评论

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