Skip to content

Commit

Permalink
Merge pull request #16588 from atomfrede/16573-compress-svg-images
Browse files Browse the repository at this point in the history
enable gzip compression for svg images
  • Loading branch information
pascalgrimaud authored Oct 6, 2021
2 parents afa2df5 + 8f6f586 commit ca8f67a
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 ca8f67a

Please sign in to comment.