Added feature to toggle config cache.