Permanently disable Safari caches

  1. Empty the cache from the Develop menu.
  2. Quit Safari.
  3. 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?