On 08/18/2011 05:54 PM, Martin Hediger wrote: > Dear List > Does anyone know how to setup the browser (Firefox) such that the Jmol > applet is not reloaded from Cache when I reload the page after changing > the script? > It seems to me that changes to the Jmol script only become effective > after emptyin browser cache, and sometimes not even then. > > Any hints are very welcome. > Caching of the Jmol applet and the loaded scripts are handled differently.
The Jmol applet is cached separately in the Java cache. This cache is not emptied when you empty the Browser cache. It used to work to restart Firefox, but I havn't checked this for quite some time. I circumvent this problem by loading each applet version from a different directory. My Jmol pages are created on the fly by a CGI script anyhow. So the script includes the pathname for the requested version in the HTML code. Then any number of different Jmol versions can be used in parallel or sequentially without any caching problems. For the scripts loaded by Jmol the Browser cache is used. So it should be sufficient to press the "SHIFT" key while clicking on the reload icon. This used to work, but I havn't checked this for some time either. (Since the Jmol scripts for our Jena3D viewer [jena3d.fli-leibniz.de] are generated individually on the fly the script file names are unique for each page request and we also don't have any caching problems there.) Regards, Rolf ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

