In general, I prefer an "as needed" approach, which would mean only the
scripts that belong in all pages go in the main master. This will add a bit
more work in setting up the pages, but will prevent overloading your users.
If your pages are easily segmented, you can use a master page hierarchy and
add scripts as needed, but this could be a maintenance nightmare.
Putting all in one master is the easiest option, from your side. But, if
your users are on a slow connection, it could be a nightmare for them, as
all the scripts have to be downloaded to get things working.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#
or just read it:
http://feeds.feedburner.com/GregoryBeamer
********************************************
| Think outside the box! |
********************************************
"shapper" <md*****@gmail.comwrote in message
news:a5**********************************@m45g2000 hsb.googlegroups.com...
Hello,
I am working on a web site where I have a master page.
Most web site pages use this master page as base.
Some scripts are used in all pages ... other just in a few pages.
Should I load all scripts in master page ... I think they are cached
right?
Or should I load the common scripts to all pages in my master page and
then in each page load the scripts that are not used in all pages?
Thanks,
Miguel