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
Branches
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
# Logging
logging.level.org.springframework=INFO
spring.resources.chain.enabled=true
spring.resources.chain.gzipped=true
spring.resources.cache-period=600
spring.resources.chain.strategy.content.enabled=true
spring.resources.chain.strategy.content.paths=/**/*.js, /**/*.css, /**/*.png, /**/*.html
\ No newline at end of file
server.compression.enabled=true
server.compression.mime-types=application/json,text/css,application/javascript
server.compression.min-response-size=2048
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment