[core] use cache in check flash link content type