code: def get_release_info(self, name, version):  # type: (str, str) -> dict
          
          if self._disable_cache:
              return self._get_release_info(name, version)
  
          cached = self._cache.remember_forever(
              "{}:{}".format(name, version), lambda: self._get_release_info(name, version)
          )
  
          cache_version = cached.get("_cache_version", "0.0.0")
          if parse_constraint(cache_version) != self.CACHE_VERSION:
              # The cache must be updated
              self._log(
                  "The cache for {} {} is outdated. Refreshing.".format(name, version),
                  level="debug",
              )
              cached = self._get_release_info(name, version)
  
              self._cache.forever("{}:{}".format(name, version), cached)
  
          return cached
docs: Return the release information given a package name and a version.
  
          The information is returned from the cache if it exists
          or retrieved from the remote server.