Browse Source

Polish "Provide support for adding to the mime types that are compressed"

See gh-48930
pull/48957/head
Andy Wilkinson 2 weeks ago
parent
commit
a8fc38f565
  1. 3
      documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc

3
documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc

@ -205,7 +205,8 @@ By default, responses are compressed only if their content type is one of the fo @@ -205,7 +205,8 @@ By default, responses are compressed only if their content type is one of the fo
* `application/json`
* `application/xml`
You can configure this behavior by setting the configprop:server.compression.mime-types[] property.
To configure the mime types that will be compressed, replacing the defaults, set the configprop:server.compression.mime-types[] property.
To keep the defaults and configure additional mime types, set the configprop:server.compression.additional-mime-types[] property instead.

Loading…
Cancel
Save