Using cache condition instead of systematically read the contents