Polish contribution

Closes gh-5171
This commit is contained in:
Stephane Nicoll 2016-02-18 11:30:02 +01:00
parent 4ca04abcb2
commit 888270bd03
2 changed files with 2 additions and 0 deletions

View File

@ -221,6 +221,7 @@ public class ResourceProperties implements ResourceLoaderAware {
public void setGzipped(boolean gzipped) {
this.gzipped = gzipped;
}
}
/**

View File

@ -322,6 +322,7 @@ content into your application; rather pick only the properties that you need.
spring.resources.cache-period= # Cache period for the resources served by the resource handler, in seconds.
spring.resources.chain.cache=true # Enable caching in the Resource chain.
spring.resources.chain.enabled= # Enable the Spring Resource Handling chain. Disabled by default unless at least one strategy has been enabled.
spring.resources.chain.gzipped=false # Enable resolution of already gzipped resources.
spring.resources.chain.html-application-cache=false # Enable HTML5 application cache manifest rewriting.
spring.resources.chain.strategy.content.enabled=false # Enable the content Version Strategy.
spring.resources.chain.strategy.content.paths=/** # Comma-separated list of patterns to apply to the Version Strategy.