not sure that's related. what load ASYNC does it to load a model in a
"lazy" fashion, deferring the Jmol script and continuing only after the
operating system reports that the file has been loaded.
Actually, I haven't tested it much. I think it's the default when you do a
drag-drop into Jmol on a web page.
As for GZIP -- I'm pretty sure files are transferred these days as gzipped
files anyway. As long as your server supports it, browsers will generally
request it.That's my understanding, anyway.
Bob
On Thu, Jun 5, 2014 at 3:07 PM, Greeves, Nick <[email protected]>
wrote:
> I was impressed to receive an email from Google suggesting ways to speed
> up ChemTube3D by enabling compression with gzip. I implemented that and
> then turned my attention to the possibility of deferring the loading of
> Javascript.
>
> https://developers.google.com/speed/docs/insights/BlockingJS
>
> I also found this in the archives.
>
> *[Jmol-users] Jmol 14.0.12/14.1.12 released
> <http://www.mail-archive.com/[email protected]&q=subject:%22%5BJmol%26%2345%3Busers%5D+Jmol+14.0.12%2F14.1.12+released%22>*
> new feature: load ASYNC ....
> new feature: script ASYNC ....
> -- load and script ASYNC start a new asynchronous thread to load the file
> and then continue after that.
> -- JSmol/HTML5 only; others ignore
>
> Sp the question is, has anyone found <script async src="JSmol.min.js”> to
> be helpful with JSmol? Does it cause problems?
>
> Best regards
> Nick
> --
> Nick Greeves via OS X Mail
> Director of Teaching and Learning
> Department of Chemistry
> University of Liverpool
> Donnan and Robert Robinson Laboratories
> Crown Street, LIVERPOOL L69 7ZD U.K.
> Email address: [email protected]
> WWW Pages: http://www.chemtube3d.com
> Tel: +44 (0)151-794-3506 (3500 secretary)
> Dept Fax: +44 (0)151-794-3588
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users