How to clear iframe cache in Obsidian?

Is this the right way to clear the cache?

rm "$HOME/Library/Application Support/obsidian/Cache"