From 2a2099483385c588d0ce01c5dbfce2a274bc5bb1 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 8 Jul 2015 23:39:11 -0700 Subject: [PATCH] Document static-resources configuration property Add `spring.resources.static-locations` to the reference documentation appendix. Fixes gh-3372 --- .../src/main/asciidoc/appendix-application-properties.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc index 242ed206e42..00c3cc38383 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -138,6 +138,7 @@ content into your application; rather pick only the properties that you need. # SPRING RESOURCES HANDLING ({sc-spring-boot-autoconfigure}/web/ResourceProperties.{sc-ext}[ResourceProperties]) spring.resources.cache-period= # cache timeouts in headers sent to browser spring.resources.add-mappings=true # if default mappings should be added + spring.resources.static-locations= # comma list of the locations that serve static content (e.g. 'classpath:/resources/') spring.resources.chain.enabled=false # enable the Spring Resource Handling chain (enabled automatically if at least a strategy is enabled) spring.resources.chain.cache=false # enable in-memory caching of resource resolution spring.resources.chain.html-application-cache=false # enable HTML5 appcache manifest rewriting