-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
5.6.2
Looking at the code, there is an option to refresh the cached entry by passing no-cache header. But it seems when used with memcached backend, this has no effect.
The underlying issue is, memcached library is calling .add() method, which will only add data if the key does not exist already. Instead it should use .set(), which supports updating the cached data if key already exists.
The method is called here: https://git.magnolia-cms.com/projects/MODULES/repos/cache/browse/magnolia-cache-memcached/src/main/java/info/magnolia/cache/memcached/spy/MemcachedWrapper.java#191
Acceptance criteria