Randy, the app is a Intranet program & users are likely to be viewing
several (5+) pages per visit!
"Randy Webb" <hikksnotathome@aol.com> wrote in message
news:F5-dnZYHg7ItVzndRVn-uw@comcast.com...[color=blue]
> harry wrote:
>[color=green]
> > Using IE 5.5(sp2) no other!
> >
> > I have several .js files that are included in various jsp pages.
> >
> > I've read somewhere(can't remember where?) that the browser caches .js
> > files.
> >
> > If this is the case is it better to include all of them in the 1st page[/color][/color]
of[color=blue][color=green]
> > my app regardless if they're used in this page & take a performance hit
> > once? - or am I missing something?
> >[/color]
>
> Load the page. Look in your cache folders. If there are .js files there,
> it caches them, if there aren't, then it doesn't. Pretty easy to test.
>
> And while loading them all on the first page might have its advantages
> by speeding up subsequent pages, its a disadvantage as well. Why should
> I, as a user, have to sit through a download (performance hit) so that I
> can see 1 or 2 pages, yet have to download the .js for the entire site?
>
>
>
> --
> Randy
> Chance Favors The Prepared Mind
> comp.lang.javascript FAQ -
http://jibbering.com/faq/[/color]