Overview
We need to port optimisation updates from the forked FHIR Info Gateway that was based on the Load Testing carried out earlier. The implementation uses a timeout based caching approach via a Caching library (Caffeine). We need to have a default configuration of 60 seconds with the options to disable caching and/or specifying the cache expiry timeout in seconds. This configuration is via an environment variable named OPENSRP_CACHE_EXPIRY_SECONDS. e.g.
export OPENSRP_CACHE_EXPIRY_SECONDS=30
To disable caching, configure the above environment variable with a value of 0.
Overview We need to port optimisation updates from the forked FHIR Info Gateway that was based on the Load Testing carried out earlier. The implementation uses a timeout based caching approach via a Caching library (Caffeine). We need to have a default configuration of 60 seconds with the options to disable caching and/or specifying the cache expiry timeout in seconds. This configuration is via an environment variable named
OPENSRP_CACHE_EXPIRY_SECONDS
. e.g.To disable caching, configure the above environment variable with a value of
0
.Acceptance criteria
Resources