Hacker News new | ask | show | jobs
by jimktrains2 5124 days ago
> reduce JSON data size and network traffic when gzip isn't available. For example, in-browser 3D-modeling tools like Mydeco 3D-planner may process and send to server megabytes of JSON-data;

`Content-encoding: gzip` anyone?

1 comments

I don't believe that browsers let uploads be gzipped, as it can't be sure that the server supports gzipped requests.
Good call. I would think there should be a way to specify it... Something to look into I guess.

EDIT: or as a comment above states, compress (gzip/deflate) it yourself. Not the most elegant, but if space is an issue.