I would like to recommend the following folders for Preferences and Caches (respectively):
~/Library/Preferences/
~/Library/Caches/
In either location, preferences or caches can be stored in either a folder or a file. Most programs use the reverse-ICANN naming scheme. (That's something like org.bazaar-vcs.fileExtension, or org.bazaar-vcs/ for folders, etc.)
I'm all for this!
I would like to recommend the following folders for Preferences and Caches (respectively):
~/Library/ Preferences/
~/Library/Caches/
In either location, preferences or caches can be stored in either a folder or a file. Most programs use the reverse-ICANN naming scheme. (That's something like org.bazaar- vcs.fileExtensi on, or org.bazaar-vcs/ for folders, etc.)