Polish contribution

Closes gh-5171
pull/5167/merge
Stephane Nicoll 9 years ago
parent 4ca04abcb2
commit 888270bd03

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

@ -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.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.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.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.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.enabled=false # Enable the content Version Strategy.
spring.resources.chain.strategy.content.paths=/** # Comma-separated list of patterns to apply to the Version Strategy. spring.resources.chain.strategy.content.paths=/** # Comma-separated list of patterns to apply to the Version Strategy.

Loading…
Cancel
Save