Accept v0.8.0 CacheType enum names.
Merge pull request #236 from harveyfeng/master

Accept v0.8.0 CacheType enum names.