I'm interested in any observations on this. So far the idea is to wait and see if there really is any issue. My guess is that a 50-60K download generally won't be noticed, as it is about the size of a small image. But it's possible that the delay would be noticeable and that we need to allow for preloading. One thing I can tell you is that just downloading the files in some other way does not do anything for you -- they must be downloaded as jar files within an object tag. I guess that's because they go into a special cache, not the main browser page cache.
Actually, now that I think of it, I was wrong about cartoons. Loading of a PDB file itself initiates the ShapeBio.jar download, because as the PDB model is built helixes are identified, and that requires the ShapeBio package. Cartoons have nothing to do with it. Issuing an isosurface, lcaoCartoon, MO, or polyhedra command, on the other hand, IS what initiates the download of the ShapeSpecial package, but it is only 36K. Really, I think it won't be noticeable. But let's see.... Bob Angel Herraez wrote: >>But you use cartoons, so >>JmolApplet0_ShapesBio.jar (52K) is downloaded when the first script that >>involves a cartoon is invoked. >> >> > >Yes, I've understood that, and it's a great advantage to have reduced >downloads adjusted to needs. It can, however, be disconcerting that >the first "cartoon" (or other, similarly) command will have a delay. > >Just a reflection: > I won't request a way to force loading of certain modules (I know >that calling JmolApplet.jar will load everything, but I prefer the >modular variety), but we have to think of ways for the webpage author >for pre-loading the module which will be needed later, e.g. while >the user is reading the entry page. The user may be prepared for an >initial delay, for hardly for one when he clicks on a button. >I did something similar yesterday by including, in a homepage that >doesn't need to show models, a "Wait until Jmol is ready" message >above a small applet that only does an echo "Jmol is ready". >Meanwhile, the user can go on reading the presentation, and when the >"reay" is shown, move to the first page with real content. > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >Jmol-users mailing list >Jmol-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/jmol-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users