Disable the cache and clear its contents

        :param clear_cache: clear the cache contents as well as disabling (defaults to True)

def disable(self, clear_cache=True):
        """
        Disable the cache and clear its contents

        :param clear_cache: clear the cache contents as well as disabling (defaults to True)
        """
        logger.debug('disable(clear_cache={})'.format(clear_cache))
        if clear_cache:
            self.clear()
        self.options.enabled = False
        logger.info('cache disabled')