Commonalize the cache config and change default to disable cache
Merge pull request #902 from metamx/cache-config

Commonalize the cache config and change default to disable cache