Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine how to automatically compress AJAX requests to the server #19

Open
gaurav opened this issue Jan 2, 2020 · 0 comments
Open

Comments

@gaurav
Copy link
Member

gaurav commented Jan 2, 2020

We currently compress ontologies using Gzip before uploading them to the reasoner. The simpler, most straightforward and most maintainable solution would be to tell the browser to compress the entire AJAX request using Content-Encoding, which NanoHTTPD and other web servers should be able to decompress automatically. This issue covers looking into how to do that.

This is low priority, since in PR #16 we compress the ontology before upload. But it would simplify our code a little to have this in. We should be able to copy the solution from phyloref/klados#182 once we solve it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant