3

My Spring Boot 2.1 Application has Tomcat 9 for the Servlets. I would like to use Http/2 and Gzip compression. In the application.properties file are these flags enabled:

server.compression.enabled=true
server.http2.enabled=true                          

The Http/2 protocol is enabled but the gzip compression does not work. Has somebody an idea howto use Http/2 and compression in a Spring Boot 2.1 application together?

KishanCS
  • 1,357
  • 1
  • 19
  • 38

0 Answers0