add cache command and entity