I found this snippet :

One of the greatest advantages to using .js files across mutliple pages is
that the files are cached after the initial use, and are ready immediately
on subsequent pages, speeding up load times after the initial page visited
at your site.

here:
http://www.wtv-zone.com/Angelaruth49/JavaScript/Lesson10.html

I think if you try testing this though, you'll get false calls to the
server, as the mod date is always checked to see if the .js files have been
changed.

Richard.

----- Original Message -----
From: "Digital Strider" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 18 May, 2001 07:05
Subject: RE: [Dynapi-Dev] Simple question...


> I think people misunderstand.  The question relates to bandwidth
efficiency.
> If I use 5 library (.js) elements on my splash page, then reuse the same
> elements on my main navigational page.
>
> Do I have to download the same libraries all over again or does the
browser
> do a "same file and late date updated signature, same host" I'll use the
one
> in cache?
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Michael
> Pemberton
> Sent: Thursday, May 17, 2001 9:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Dynapi-Dev] Simple question...
>
>
> I have done this in all of my api code.  eg. widgets know what other
objects
> they need and load those so that the user doesn't need to worry about a 15
> include() calls.
>
> I this that there are problems with too many document.write() calls
nested.
> browsers start to scratch their heads at this in some cases.
>
> Doug Melvin wrote:
>
> > As far as I know it's up to the browser.
> > You could check if a variable has been declared (one that is declared
only
> > in that file)
> > then, if not, document.write(.... the script include
> > ----- Original Message -----
> > From: "Digital Strider" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, May 17, 2001 3:29 PM
> > Subject: [Dynapi-Dev] Simple question...
> >
> > >
> > > If your making calls for .js files from multiple pages, do the
following
> > > pages know not to "redownload" identical files from the same host?
> > >
> > > Before I waste time looking for an answer I'll query the DynAPI
> > "mind-hive".
> > >
> > > Thanks,
> > >
> > > Raymond
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.252 / Virus Database: 125 - Release Date: 5/9/2001
> > >
> > >
> > > _______________________________________________
> > > Dynapi-Dev mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
> --
> Michael Pemberton
> [EMAIL PROTECTED]
> ICQ: 12107010
>
>
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.252 / Virus Database: 125 - Release Date: 5/9/2001
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.252 / Virus Database: 125 - Release Date: 5/9/2001
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to