Support multiple cache instances
Merge pull request #1150 from spumko/cache

Support multiple cache instances