Cache: fixed CAS-Feature broken for APC adapter since 2.3.0

see #4844