VIVO-117 Turn off HTTP caching unless explicitly enabled in runtime.properties.
This commit is contained in:
parent
fe1b52ab49
commit
ab68320672
3 changed files with 51 additions and 0 deletions
|
@ -697,6 +697,25 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
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:
|
||||||
|
<a href="https://wiki.duraspace.org/display/VIVO/Use+HTTP+caching+to+improve+performance">
|
||||||
|
Use HTTP caching to improve performance </a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="odd_row">
|
||||||
|
<td>
|
||||||
|
http.createCacheHeaders
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
true
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
Show only the most appropriate data values based on the Accept-Language
|
Show only the most appropriate data values based on the Accept-Language
|
||||||
|
|
|
@ -256,6 +256,25 @@
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
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:
|
||||||
|
<a href="https://wiki.duraspace.org/display/VIVO/Use+HTTP+caching+to+improve+performance">
|
||||||
|
Use HTTP caching to improve performance </a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="odd_row blue">
|
||||||
|
<td>
|
||||||
|
http.createCacheHeaders
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
true
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
Force VIVO to use a specific language or Locale instead of those
|
Force VIVO to use a specific language or Locale instead of those
|
||||||
|
|
|
@ -179,6 +179,19 @@ RDFService.languageFilter = true
|
||||||
#
|
#
|
||||||
# languages.selectableLocales = en, es, fr
|
# 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.
|
# For developers only: Setting this option to "true" slows down VIVO performance.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue