Isn't this similar to Pascal's Razor Engine? That's what I'm using now with
my current project. Just adapted the code a bit to work with 2.53 instead of
dynacore.

I have browser.js cookies.js and dynapi.js linked from the splash page, so
they start downloading straight away. Then the main page has the basic API -
event's and stuff, and each theme then has just the widgets it needs. It
works fine for me, once the files are downloaded they are ready for any page
from the same site. (user's cache settings permitting of course.)



you can get razor from http://www.dynamic-core.net and I can post mine if
anyone is interested....

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Digital
Strider
Sent: 18 May 2001 09:29
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Dev] Simple question...


If this is true it's nice.  Means you can balance your design, downloading a
portion of it with a splash page and the rest with the main page.
Significantly reduces the impression of "waiting" with the user.

< snipped >

Cheers,

DS

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

---
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