fix mine while caching is disabled
Merge pull request #5736 from ranl/develop

fix mine while caching is disabled