UPDATE 2023-10-01: The “Block all cookies” setting to clear Safari website data has moved to the Advanced tab, as of Safari 17.0.
This setting still performs the same action as described below, although it has moved to a new tab.
Often times I find myself needing to clear the website data stored in Safari, and while Safari does provide a mechanism for accomplishing this task, it is a (minimum) three step process that first waits until the data is loaded before allowing to remove.
Cumbersome, I know.
Thankfully, there is a little trick I use that speeds up this process, which only requires enabling and disabling ‘Block all cookies’ setting instead.
Personally, I find this method much faster for resetting Safari, but honestly wish there was a programatic method for performing this type of privacy cleanup.