MessagePack encodes JSON into binary which will improve our bandwidth and reduce payload associated costs.
This is ideal where we control both ends of the pipe, eg. an XHR request to the query module.
The xhr module method can add a MessagePack flag. TThe query module can encode the response if the flag is received and MessagePack is supported.
The payload will be decoded by the XHR method returning the response.
https://msgpack.org/index.html
MessagePack encodes JSON into binary which will improve our bandwidth and reduce payload associated costs.
This is ideal where we control both ends of the pipe, eg. an XHR request to the query module.
The xhr module method can add a MessagePack flag. TThe query module can encode the response if the flag is received and MessagePack is supported.
The payload will be decoded by the XHR method returning the response.
https://msgpack.org/index.html