From b2b6878e7db1b6d3aa76d59f637992eeef884021 Mon Sep 17 00:00:00 2001 From: Juku Trump Date: Mon, 15 Apr 2024 13:38:58 +0300 Subject: [PATCH] SIVA-618 Update documentation about siva.tsl.loader.loadFromCache --- docs/siva3/deployment_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/siva3/deployment_guide.md b/docs/siva3/deployment_guide.md index a257278ff..9ae521715 100644 --- a/docs/siva3/deployment_guide.md +++ b/docs/siva3/deployment_guide.md @@ -433,7 +433,7 @@ See the reference list of all common [application properties](http://docs.spring | Property | Description | | -------- | ----------- | -| **siva.tsl.loader.loadFromCache** | A boolean value that determines, whether the TSL disk cache is updated by downloading a new TSL in a predetermined interval

Note that the cache is by default stored in a system temporary folder (can be set with system property `java.io.tmpdir`) in a subdirectory named `dss_cache_tsl` | +| **siva.tsl.loader.loadFromCache** | A boolean value that determines whether the TSL is loaded from disk cache instead of by downloading a new TSL in a predetermined interval.

Note that the cache files are by default stored in a system temporary folder (can be set with system property `java.io.tmpdir`; make sure the application has both read and write permissions in that folder). | | **siva.tsl.loader.onlineCacheExpirationTime** | A string value in a [format based on ISO-8601 duration format PnDTnHnMn.nS](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)) that determines the expiration time of TSL disk cache in case `siva.tsl.loader.loadFromCache` is set to `false`. The default is 1 hour.

Note that the expiration time only determines, for each cached file, the minimum time that must have been passed since their last update before that file is considered expired and is susceptible to an update. The actual update is performed periodically by SiVa (specified by `siva.tsl.loader.schedulerCron`) or when the application is (re)started. | | **siva.tsl.loader.url** | A url value that points to the external TSL | | **siva.tsl.loader.ojUrl** | A url value that points to the legal act in Official Journal of the European Union |