Permanently disable Safari caches
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?