Using GZIP compression with Spring Boot/MVC/JavaConfig with RESTful
The rest of these answers are out of date and/or over the top complicated for something that should be simple IMO (how long has gzip been around for now? longer than Java…) From the docs: In application.properties 1.3+ # 🗜️🗜️🗜️ server.compression.enabled=true # opt in to content types server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css # not worth the CPU cycles at … Read more