Compressing HTTP Messages with Gzip
Last updated 31 October 2018
Heroku does not modify HTTP requests or responses that are sent by your application. This means that features like HTTP compression are your application’s responsibility.
You can easily serve Gzipped HTTP messages directly from your application code. Here are documentation links for popular Gzip compression libraries for all Heroku-supported languages:
|Java||Spring, Tomcat, Jetty|