Correct cache clearing