mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +00:00
#331 Enabling browser caching of static resources
This commit is contained in:
parent
492b4851b5
commit
adc24f4016
1 changed files with 4 additions and 0 deletions
|
@ -23,3 +23,7 @@ logging.level.org.springframework=INFO
|
||||||
|
|
||||||
# Active Spring profiles
|
# Active Spring profiles
|
||||||
spring.profiles.active=production
|
spring.profiles.active=production
|
||||||
|
|
||||||
|
# Maximum time the static resources (css, js, fonts and images) should be cached
|
||||||
|
spring.resources.cache.cachecontrol.max-age=12h
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue