Changed resolve behaviour

the resolve method compares the template from the internal-cache with
the template from the config.Resolver