Reintroduce mutexes in caches