Permanently disable Safari caches I'm disabling the cache from Safari developer menu, but each time I reboot my computer, the cache is re-enabled.

I'm looking for a permanent solution for disabling the cache.

Any ideas?
Empty the cache from the Develop menu.
Quit Safari.
Lock ~/Library/Caches/com.apple.Safari/Cache.db from Finder's Get Info inspector.


This prevents Safari writing to the cache.



If you're here looking for how to disable cache now the option mentioned in the question is removed in Safari 11, see How to disable all caches in safari 11?