>>> cache = Cache(log_level=logging.WARNING)
        >>> cache.read_after_refresh_expire
        True
        >>> cache.with_read_after_refresh_expire(False)
        >>> cache.read_after_refresh_expire
        False
        >>> cache.with_read_after_refresh_expire('haha')
        >>> cache.read_after_refresh_expire
        False

def with_read_after_refresh_expire(self, flag, only_read=False):
        """
        >>> cache = Cache(log_level=logging.WARNING)
        >>> cache.read_after_refresh_expire
        True
        >>> cache.with_read_after_refresh_expire(False)
        >>> cache.read_after_refresh_expire
        False
        >>> cache.with_read_after_refresh_expire('haha')
        >>> cache.read_after_refresh_expire
        False
        """
        if not isinstance(flag, bool):
            self.logger.warning('Parameter flag %s must be boolean' % flag)
            return
        self.read_after_refresh_expire = flag