you can delete it using Applications/Utilities/Terminal for this. open it, and type/paste into:
sudo rm -r ~/Library/Caches/Safari/10/12
hit enter, and you will be asked for your password (your user needs will need admin status). this will delete the folder 10/12 and everything inside it. afterwards i'd suggest you quit terminal, if you have no real experience with it ...