PDA

View Full Version : preloading files for web pages


Madge
December 25th, 2002, 11:03 PM
I have had some small successes preloading larger image files on a previous web page so they appear quicker when their own page loads.

Is it possible/meaningful to preload Java applets in this way as well, either the .jar file or the .class file or both?

Any more general comments or online references about this preloading issue?

Merry Christmas and a Happy New Year everyone!

Steven.Bentley
December 27th, 2002, 09:01 PM
Hi Madge, is this any use?

http://www.tropo.com/techno/java/preload/

Madge
January 12th, 2003, 11:32 AM
Steven

I am embarrassed that I did not reply sooner with thanks and congratulations for digging up such an apt reference so promptly.

In fact, for the reasons below, I have not tried it out but I have filed the URL for future use.

My own efforts found this reference:

http://navsurf.com/articles/applet_preload.asp

NavSurf here endorse what I was already doing without success, but it turns out this was just down to my inexperience. I was using a trial version of a scroller applet with nag screen. I did not realise that the nag screen, apart from looking a bit tacky, caused a sizable delay in running, and this was not mentioned in the inducement to purchase (probably because it is self-evident to all except us newbies). Now I have registered the applet it loads and runs promptly, so I have left the more general issue for another day.

Steven.Bentley
January 12th, 2003, 01:25 PM
I would have to say that JavaScript is a better way to do a scroller than Java, preloading wouldn't be an issue