Typically, one doesn't care whether the same page has been visited before. What one does care about is avoiding storing duplicate data.