Disable Caches in Safari

Sobchak
Contributor

Does anyone have a script to set Safari to disable caches? We need to set this on our labs.

2 REPLIES 2

davidacland
Honored Contributor II
Honored Contributor II

I didn't think that was an option at all in Safari. Are you seeing it somewhere in the Safari preferences?

The only other way you could approach it would be to target the ~/Library/Safari folder and run a script to clear caches from there.

StoneMagnet
Contributor III

If you enable the Develop menu in Safari (see the Advanced tab in Safari preferences) there is a Disable Caches option there. Unfortunately it does not appear to be a persistent setting, so quitting and re-running Safari re-enables caching.