Difference between URI and URL

2021. 4. 6. 19:35·Computer Science/Terminology and Concepts

 

The terms “URI” and “URL” are often used interchangeably, but they are not exactly the same.

  1. A URI is an identifier of a specific resource. Like a page, or book, or a document.
  2. A URL is special type of identifier that also tells you how to access it, such as HTTPs, FTP, etc.—like https://www.google.com.
  3. If the protocol (https, ftp, etc.) is either present or implied for a domain, you should call it a URL—even though it’s also a URI.
All butterflies fly, but not everything that flies is a butterfly.

 

  1. A Uniform Resource Identifier (URI) provides a simple and extensible means for identifying a resource (straight from *RFC 3986). It’s just an identifier; don’t overthink it.
  2. For most debates about this that matter, URI is the superset, so the question is just whether a given URI is formally a URL or not. All URLs are URIs, but not all URIs are URLs. In general, if you see http(s)://, it’s a URL.
  3. URIs technically do require a scheme (see above), but the RFC also says they can be a name, locator, or both, so YOLO! My advice for anyone saying URIs do or do not require a scheme is to show them this article, because it’s the only thing I know of that highlights the contradictions in the RFC.
  4. Fragments like file.htm actually are not URNs, because URNs are required to use a special notation with urn: in the beginning.
  5. A little-known section of RFC 3986 actually speaks directly to the religious part of the argument, and seems to say we should say URI instead of URL.

Summary

What a mess. Here’s the TL;DR…

  1. The RFCs are ancient, poorly written, and not worth debating until they’re updated.
  2. A URI is an identifier.
  3. A URL is an identifier that tells you how to get to it.
  4. Use the term that is best understood by the recipient.

 

*RFC

: RFC(Request for Comments) 문서는 비평을 기다리는 문서라는 의미로, 컴퓨터 네트워크 공학 등에서 인터넷 기술에 적용 가능한 새로운 연구, 혁신, 기법 등을 아우르는 메모를 나타낸다.

 

URL

 

For more Information:

danielmiessler.com/study/difference-between-uri-url/

nomadkim880901.tistory.com/360

'Computer Science > Terminology and Concepts' 카테고리의 다른 글

How to Set up S3 bucket  (0) 2021.04.11
프론트엔드 필수 반응형 CSS 단위 정리  (0) 2021.04.08
Rest API  (0) 2021.04.06
정적 웹 페이지, 동적 웹 페이지의 차이  (0) 2020.04.17
WEB 과 WAS 의 차이점  (0) 2020.04.17
'Computer Science/Terminology and Concepts' 카테고리의 다른 글
  • How to Set up S3 bucket
  • 프론트엔드 필수 반응형 CSS 단위 정리
  • Rest API
  • 정적 웹 페이지, 동적 웹 페이지의 차이
JTB
JTB
웹/앱 개발 정보를 공유하고 있습니다.
  • JTB
    JTechBlog
    JTB
  • 전체
    오늘
    어제
    • All About Programming;) N
      • Computer Science N
        • Terminology and Concepts
        • Network
        • Operating System
        • Database
        • Data Structure
        • Web Development N
      • Frontend N
        • Javascript Essentials
        • Perfomance Optimization
        • JS Patterns
        • React N
        • Next.js
        • Flutter
        • Testing
      • Backend
        • Node.js
      • DevOps
        • Docker & Kubernetes
      • Coding Test
        • LeetCode
        • Programmers
      • Tech Books & Lectures
        • Javascript_Modern JS Deep d..
        • Network_IT 엔지니어를 위한 네트워크 입문
      • Projects
        • PolyLingo_2025
        • Build Your Body_2024
        • JStargram_2021
        • Covid19 Tracker_2021
        • JPortfolio_2021
      • BootCamp_Codestates
        • TIL
        • TILookCloser
        • Pre Tech Blog
        • IM Tech Blog
        • Daily Issues and DeBugging
        • First Project
        • Final Project
        • Sprint Review
        • Good to Know
        • Socrative Review
        • HTML & CSS
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

    • 글쓰기
    • 관리
  • 공지사항

  • 인기 글

  • 태그

    Javascript Essentials
    자바스크립트
    자바스크립트 딥다이브
    스코프
    js pattern
    Operating System
    프론트엔드 성능 최적화 가이드
    VoiceJournal
    leetcode
    Shared resources
    Data Structure
    structure of os
    CPU scheduling algorithm
    mobile app
    딥다이브
    Threads and Multithreading
    DOM
    How memory manage data
    모던 자바스크립트 Deep Dive
    polylingo
    need a database
    testing
    Time complexity and Space complexity
    database
    Binary Tree BFS
    커리어
    TCP/IP
    이벤트
    Network
    indie hacker
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.5
JTB
Difference between URI and URL
상단으로

티스토리툴바