Possibility to disable cache and some config refactoring