Add enable check to allow the usage of the enable config flag from the main cache plugin without NoSuchBeanDefinitionExceptions.