ocapmod / ocap-legacy

OCAP is a game-changing tool that allows the recording and playback of operations on an interactive (web-based) map.
Other
38 stars 42 forks source link

FEATURE: Support uploading compressed json #62

Open ehills opened 6 years ago

ehills commented 6 years ago

Hi there,

If you uploaded compressed JSON from the ocap_exporter extension you could save yourself 90% or more data when POSTing to a webserver that supports it, i.e. apache.

Reasoning:

  1. JSON is extremly compressable. It is mainly whitespace and repeated characters. A fantastic candidate
  2. Apache and most other web servers readily accept compressed body data
  3. Apache has a 2mb post body upload size by default.
JamieGoodson commented 6 years ago

On my todo list 🙂