Apple - How do I truly flush Safari's cache?
In Safari, hold down down the ⇧ (Shift) key while clicking the refresh button. This will perform a “hard” refresh, which bypasses the local cache.
(To quickly clear the cache in Safari, hit ⌥+⌘+E, go to Privacy, and click “Remove All Website Data”.)
When Safari doesn't clear cache:
Ensure that you have logged out of all webpages, and have closed all the Safari tabs.
Open Finder and select Go → Go To Folder... in Menu bar. (Alternatively, you can use the keyboard shortcut, Command + Shift + g.)
Copy and paste the following into dropdown:
~/Library/Safari/Databases
Delete all the contents that appear in that folder by highlighting all folders and right clicking and selecting Move to Trash.
Open Safari again and check that all item are now deleted.
If nothing appears when you search for the above criteria, please search
~/Library/Safari/Local Storage
and follow steps 4 & 5 above to delete all the contents.