diff --git a/doc/install.html b/doc/install.html index ed24519b..5c61e2e7 100644 --- a/doc/install.html +++ b/doc/install.html @@ -697,6 +697,25 @@ + + + Tell VIVO to generate HTTP headers on its responses to facilitate caching the + profile pages that it creates. This can improve performance, but it can also + result in serving stale data. Default is false if not set. + For more information, see the VIVO wiki page: + + Use HTTP caching to improve performance + + + + + http.createCacheHeaders + + + true + + + Show only the most appropriate data values based on the Accept-Language diff --git a/doc/upgrade-1.6.html b/doc/upgrade-1.6.html index 3ad8e8f2..610d44b7 100644 --- a/doc/upgrade-1.6.html +++ b/doc/upgrade-1.6.html @@ -256,6 +256,25 @@ + + + Tell VIVO to generate HTTP headers on its responses to facilitate caching the + profile pages that it creates. This can improve performance, but it can also + result in serving stale data. Default is false if not set. + For more information, see the VIVO wiki page: + + Use HTTP caching to improve performance + + + + + http.createCacheHeaders + + + true + + + Force VIVO to use a specific language or Locale instead of those diff --git a/example.runtime.properties b/example.runtime.properties index 0ac16b6d..3c2fe998 100644 --- a/example.runtime.properties +++ b/example.runtime.properties @@ -179,6 +179,19 @@ RDFService.languageFilter = true # # languages.selectableLocales = en, es, fr +# +# Tell VIVO to generate HTTP headers on its responses to facilitate caching the +# profile pages that it creates. +# +# For more information, see +# https://wiki.duraspace.org/display/VIVO/Use+HTTP+caching+to+improve+performance +# +# Developers will likely want to leave caching disabled, since a change to a +# Freemarker template or to a Java class would not cause the page to be +# considered stale. +# +# http.createCacheHeaders = true + # # For developers only: Setting this option to "true" slows down VIVO performance. #