phyloref / jphyloref

MIT License
0 stars 0 forks source link

Add support for transparently compressing ontologies using NanoHTTP #64

Open gaurav opened 4 years ago

gaurav commented 4 years ago

We ran into some speed issues in January when temporarily hosting JPhyloRef on my personal VPN, and consequently had to compress the JSON file during transmission (PR https://github.com/phyloref/klados/pull/179) and then uncompress it in JPhyloRef (PR #63). This is something that should be handled transparently by the browser (https://github.com/phyloref/klados/issues/182) and by NanoHTTP, probably through changing a setting like in https://github.com/NanoHttpd/nanohttpd/issues/177#issuecomment-416553202.

This issue tracks making changes to JPhyloRef to support https://github.com/phyloref/klados/issues/182. We should also check whether the reduction in time is fully explained by the reduction in file size, and whether there might be other issues slowing down the transmission of ontologies to JPhyloRef.