修正缓存配置出错问题

Signed-off-by: rodneytt at home <rodneytt@sina.com>