Fixing loading semantics in the cache