'Get the cache.
@return: The I{options} when I{cachingpolicy} = B{1}.
@rtype: L{Cache}'

def cache(self):

    if (self.options.cachingpolicy == 1):
        return self.options.cache
    else:
        return NoCache()
