mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 17:37:27 +00:00
Enable caching of static resources
See gh-332
This commit is contained in:
parent
3c9afdc138
commit
46babdad7c
1 changed files with 3 additions and 0 deletions
|
|
@ -20,3 +20,6 @@ management.endpoints.web.exposure.include=*
|
|||
logging.level.org.springframework=INFO
|
||||
# logging.level.org.springframework.web=DEBUG
|
||||
# logging.level.org.springframework.context.annotation=TRACE
|
||||
|
||||
# Maximum time the static resources (css, js, fonts and images) should be cached
|
||||
spring.resources.cache.cachecontrol.max-age=12h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue