Skip to content

Commit

Permalink
Bonus: Abilitazione compressione HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
amusarra committed Apr 18, 2024
1 parent 62113dd commit 23bc793
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ quarkus.log.category."it.dontesta.eventbus.consumers.http".level=DEBUG
quarkus.log.category."it.dontesta.eventbus.consumers.events.handlers.Dispatcher".level=DEBUG
quarkus.log.category."it.dontesta.eventbus.consumers.events.handlers".level=DEBUG

# Enable or disable the HTTP request/response compression. Default is false.
# For more details, see https://quarkus.io/guides/rest#http-compression
quarkus.http.enable-compression=true

# The media types that should be compressed. Default is empty.
# For more details, see https://quarkus.io/guides/rest#http-compression
quarkus.http.compress-media-types=application/json,application/xml,text/html,text/plain

##
## Application configuration properties
##
Expand Down

0 comments on commit 23bc793

Please sign in to comment.