mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:35:49 +00:00
Merge pull request #332 from arey:feature/browserCache
* pr/332: Polish "Enable caching of static resources" Enable caching of static resources
This commit is contained in:
commit
1a317e62d1
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=INFO
|
||||||
# logging.level.org.springframework.web=DEBUG
|
# logging.level.org.springframework.web=DEBUG
|
||||||
# logging.level.org.springframework.context.annotation=TRACE
|
# logging.level.org.springframework.context.annotation=TRACE
|
||||||
|
|
||||||
|
# Maximum time static resources should be cached
|
||||||
|
spring.resources.cache.cachecontrol.max-age=12h
|
||||||
|
|
Loading…
Reference in a new issue