This issue has been created
 
 
XWiki Commons / cid:jira-generated-image-avatar-22d58a4f-fb4c-4969-a819-d0ab8a015801 XCOMMONS-3739 Open

Add grouped cache loader for caches sharing an invalidation domain

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-28b8b700-db6d-4e13-ac51-fe4824ad92ac Michael Hamann created this issue on 07/Aug/26 15:52
 
Summary: Add grouped cache loader for caches sharing an invalidation domain
Issue Type: cid:jira-generated-image-avatar-22d58a4f-fb4c-4969-a819-d0ab8a015801 Improvement
Affects Versions: 17.10.0
Assignee: Unassigned
Components: Cache
Created: 07/Aug/26 15:52
Priority: cid:jira-generated-image-static-major-f3caf49d-4ed0-405a-a326-428739c30012 Major
Reporter: Michael Hamann
Description:

The cache loader added in XCOMMONS-3300 currently doesn't really support loading two different types of values - while it supports storing the loaded value wherever you want it, the load method assumes that all load calls for a key return the same value and the result can thus be returned to all callers. The cache loader should support a group of caches that load different types of values that share the same invalidation domain (keys). An example for this is the XWikiCacheStore that has both an exists and a page cache, both over pages as key, that need to be invalidated in a synchronized way.