Implement cache clear for expired records.