Open avernet opened 1 month ago
Discussed:
form-runner.persistence.form-definition
form-runner.persistence.form-metadata
oxf.xforms.cache.provider
ehcache2
or jcache
ehcache2
, so always JCache, which by default uses Ehcache 3, like other cachesxforms.state
xforms.resources
(?)We also access Ehcache 3 via JCache, so we need to add support for multiple JCache providers.
@ebruchez If it is simpler, for the caches that always remain local (form-runner.persistence.form-definition
and form-runner.persistence.form-metadata
, and more to come), we can also hardcode the use of Ehcache3 (through JCache or not), as we don't need (or want) users to be able to configure what cache is used for those.
Looking for a good name to differentiate the two categories of caches. Differences:
After discussion, leaning towards adding store
properties:
oxf.xforms.store.provider
oxf.xforms.store.jcache.classname
oxf.xforms.store.jcache.resource
oxf.xforms.store.jcache.uri
If a store
property is missing, use the corresponding cache
property.
Difficulties I encountered:
jaxb-api
, jaxb-core
, jaxb-impl
for Ehcache 3ehcache3.xml
to tell that we want to store values on the heap by reference
I think we delayed backporting to 2023.1-pe until we have feedback.
RESOLUTION: We don't include this on 2023.1.x. This will be a 2024.1 feature.
Should not be sent to Redis:
See #6554