How Instagram Delivers Images & Videos: CDN Architecture Explained
A technical deep-dive into Meta's media delivery infrastructure, signed CDN URLs, edge caching, and WebP/AV1 compression algorithms.
Marcus Vance
Senior Security & Web Technology Analyst
Meta processes billions of photos and videos daily. Delivering these assets within milliseconds to global users requires one of the most sophisticated distributed Content Delivery Networks in existence.
1. Anatomy of an Instagram CDN URL
Every image URL generated by Instagram follows a structured format:
https://scontent-iad3-1.cdninstagram.com/v/t51.2885-15/e35/p1080x1080/4321_n.jpg?_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_cat=104&_nc_ohc=abcXYZ&edm=AP_V10E&oe=661ABC12&oh=00_AYB39Key parameters:
scontent-[airport-code]: Identifies the regional edge server cluster (e.g., iad3 for Washington Dulles).e35 / p1080x1080: Image processing quality and resolution preset.oe: Hexadecimal timestamp defining the exact second the URL signature expires.oh / _nc_ohc: HMAC SHA-256 cryptographic signature verifying URL integrity.2. The Edge Caching & Delivery Lifecycle
1. Request Ingress: When a user queries a profile, edge routing sends the request to the closest geographic PoP.
2. Cache Hit: If cached at the edge, the image is returned in under 20ms.
3. Cache Miss / Re-signing: If expired, the edge queries origin storage, generates a fresh signature token, and caches the new object.
Guide FAQ
Why do direct Instagram image links stop working after a few days?
The 'oe' parameter in the URL enforces cryptographic expiration to prevent unauthorized permanent hotlinking.
Written by Marcus Vance
Senior Security & Web Technology Analyst
Marcus has over a decade of experience analyzing social media API architectures, public web protocols, and digital privacy compliance.
Explore Related Guides
วิธีดู Instagram โดยไม่ต้องมีบัญชี
สำรวจเนื้อหา Instagram สาธารณะโดยไม่ต้องเข้าสู่ระบบ และทำความเข้าใจข้อจำกัดที่เกี่ยวข้อง
Read guide 8 min readอธิบายลำดับรายชื่อผู้ดูสตอรี่ Instagram
เรียนรู้วิธีที่ Instagram จัดลำดับผู้ดูสตอรี่ และความหมายของการใช้งานเครื่องมือดูแบบไม่ระบุตัวตน
Read guide 8 min readวิธีดูสตอรี่ Instagram แบบไม่ระบุตัวตน
คู่มือการใช้งานจริงสำหรับการดูสตอรี่ Instagram สาธารณะโดยไม่ต้องเข้าสู่ระบบ
Read guide