Compress response payload ?
Closed this issue · 0 comments
vincentsarago commented
Each stac item could be quite large and for now we return the geojson in plain text
in
Lines 19 to 28 in cb44931
I think we could add payload compression if the client accept it (headers should have "Accept-Encoding: br, gzip, deflate")
. Theoretically we could ship a payload up to 6Mb which will contain a way more data than the non-compressed response.
edit:
adding for references that sometime headers can return "accept-encoding" or "Accept-Encoding"
vincentsarago/lambda-proxy#6 (comment)