resource: A :class:`Resource` instance.
        :return: The pathname of the resource in the cache.
        NT