On 11/28/2013 06:15 PM, Robert Hanson wrote:
> The files are loading, so Jmol is recognizing them as binary. I'll add
>
> Jmol._alertNoBinary
>
> that you can set false.
>
> But, really, you're doing a double send -- once to the relay host in
> binary, then again in BASE64 to JSmol, then a decoding back into binary. So
> think about if there is a way to avoid that. They are just PDB or mmCIF
> files, right?
>
Yes, for usage with Jmol they are currently gzip-compressed PDB files.

If someone could tell me a way to convince browsers to uncompress 
gzip-compressed CGI output before feeding it into JSmol I would be happy 
to implement it.

Sending them uncompressed instead is not really an option. Especially 
the biological unit files can get very large, even compressed.
Before I figured out how to activate the binary file loading in JSmol it 
was done this way. But it took very long to load a file with a 
compressed size of ~2 megabyte on a 2 MBit/s connection. Even with the 
double send it was several times faster with activated binary file 
loading of the compressed file.

Regards,
Rolf
-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax:     +49 3641 65 6210
E-Mail:  [email protected]
Website: http://www.fli-leibniz.de

           Scientific Director: Prof. Dr. K. Lenhard Rudolph
        Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to