From 2c897385d9a90a4b078c3987b01a5fd152d79397 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Mon, 21 Aug 2017 21:54:25 +0900 Subject: [PATCH] Document default values for compression properties Closes gh-10050 --- .../src/main/asciidoc/appendix-application-properties.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc index e9397644f6e..81a1ec22f98 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -146,8 +146,8 @@ content into your application; rather pick only the properties that you need. server.address= # Network address to which the server should bind to. server.compression.enabled=false # If response compression is enabled. server.compression.excluded-user-agents= # List of user-agents to exclude from compression. - server.compression.mime-types= # Comma-separated list of MIME types that should be compressed. For instance `text/html,text/css,application/json` - server.compression.min-response-size= # Minimum response size that is required for compression to be performed. For instance 2048 + server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript # Comma-separated list of MIME types that should be compressed. + server.compression.min-response-size=2048 # Minimum response size that is required for compression to be performed. server.connection-timeout= # Time in milliseconds that connectors will wait for another HTTP request before closing the connection. When not set, the connector's container-specific default will be used. Use a value of -1 to indicate no (i.e. infinite) timeout. server.context-parameters.*= # Servlet context init parameters. For instance `server.context-parameters.a=alpha` server.context-path= # Context path of the application.