Skip to content
Snippets Groups Projects
Commit 841116f1 authored by Antoine Rey's avatar Antoine Rey
Browse files

Caching, compression and devtools configuration

parent ce9f9a81
No related branches found
No related tags found
No related merge requests found
spring.resources.static-locations=classpath:/static/,file:springboot-petclinic-client/src/,file:springboot-petclinic-client/bower_components/
spring.devtools.restart.additional-paths=springboot-petclinic-client/src/,springboot-petclinic-client/bower_components/
spring.devtools.restart.additional-exclude=**/*.html,**/*.js,**/*.css
\ No newline at end of file
spring.resources.chain.strategy.content.enabled=true
spring.resources.cache-period=86400
\ No newline at end of file
...@@ -15,8 +15,6 @@ management.contextPath=/manage ...@@ -15,8 +15,6 @@ management.contextPath=/manage
# Logging # Logging
logging.level.org.springframework=INFO logging.level.org.springframework=INFO
spring.resources.chain.enabled=true server.compression.enabled=true
spring.resources.chain.gzipped=true server.compression.mime-types=application/json,text/css,application/javascript
spring.resources.cache-period=600 server.compression.min-response-size=2048
spring.resources.chain.strategy.content.enabled=true \ No newline at end of file
spring.resources.chain.strategy.content.paths=/**/*.js, /**/*.css, /**/*.png, /**/*.html
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment