Skip to content

Commit

Permalink
enable gzip compression for svg images
Browse files Browse the repository at this point in the history
closes #16573
  • Loading branch information
Frederik Hahne committed Oct 6, 2021
1 parent 49bc148 commit fa6f242
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ server:
shutdown: graceful # see https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-graceful-shutdown
compression:
enabled: true
mime-types: text/html,text/xml,text/plain,text/css, application/javascript, application/json
mime-types: text/html,text/xml,text/plain,text/css,application/javascript,application/json,image/svg+xml
min-response-size: 1024

# ===================================================================
Expand Down

0 comments on commit fa6f242

Please sign in to comment.