You can delete ~/Library/Safari/, but you'll lose all your bookmarks, extensions, and autofill data. As mentioned, if you want to avoid anything being written to disk in the future, make use of ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results