partial cache implementation