condition to determine if to separate config cache by modules