one juvenile question , i am having a asp.net intranet application which is using jquery, instead of ref jquery to every page, i decided it to put it on the master page inside the script manager scriptReference tag. note not all pages of my application requires jquery, so is it a wise thing to do, or it will affect the performance, any ideas
2 Answers
As long as the URL of the library remains consistent, your users' browsers should cache it the first time it is loaded. Any performance hits from having it included would then be minimal at best.
If possible, a further improvement might be to simply reference one of the many CDNs which host jQuery. This would essentially guarantee that your users would have a cached copy from one website or another.