1.add cacheEnable to configuration file; 2. add feature that user can override cacheEnbale