Closed kylebarron closed 4 years ago
Several app endpoints return JSON. It might be nice to return minified JSON, for a small improvement in network bandwidth. It consists of literally just replacing:
json.dumps(dict)
with
json.dumps(dict, separators=(',', ':'))
done in https://github.com/developmentseed/cogeo-mosaic-tiler/pull/19/commits/cf142d6f8d24691789c89c441b7ea45ac5694307
Several app endpoints return JSON. It might be nice to return minified JSON, for a small improvement in network bandwidth. It consists of literally just replacing:
with