register cache:clear only when applicable