Response Compression
Learn Response Compression (Performance Optimization, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes Response compression : the server compresses the body (usually gzip) so fewer bytes cross the network, and the client unpacks it. Negotiation : the client sends Accept-Encoding: gzip and the server answers with Content-Encoding: gzip . Spring Boot : switch it on with server.compression.enabled=true ; it is handled by the embedded server, not by MVC.