Apple Safari browser 11.0.1
Hi
I am wanting to automate the removal of Safari browser cache on many Macs with Mac OS 10.10 upwards to 10.13.
In terminal in ~/Library/Safari I have deleted the History.db file whilst Safari is open - the History list is not deleted. If I close/reopen Safari the History list is empty.
I understand the hidden file Webpageicons.db stores the URLs' visited so would this need to be deleted too?
Are there are other files in locations I need to delete? I may be right in thinking this data is stored elsewhere and perhaps hidden?
Is there a way to remove the history cache whilst the browser is open?
If I wanted to remove ALL browser cache and not just the History what needs to be deleted?
thanks
MacBook Pro with Retina display, OS X Yosemite (10.10.3), null