refactor require url buffer data