Why should JSON data be minified for production APIs?
Minified JSON removes all formatting spaces and line breaks, which often account for 20% to 50% of the raw byte size of pretty-printed JSON. Smaller payloads transfer faster over the network and consume less server memory.