API Versioning Strategy: URL Paths, Headers, and the Sunset Header
URL-based versioning is visible and cacheable. Header-based versioning is cleaner but invisible to CDN logs. The Sunset header for deprecation communication is underused.
URL-based versioning is visible and cacheable. Header-based versioning is cleaner but invisible to CDN logs. The Sunset header for deprecation communication is underused.
Overview
This note is part of the field-notes archive generated for this site. The summary below is the published excerpt; you can expand the full write-up anytime in the CMS.
Related notes
Tags
- api
- versioning
- rest
- deprecation
- architecture
Manish Bookreader
Electronics enthusiast, Embedded Systems Expert, Linux/Networking programmer, and Software Engineer passionate about AI, electronics, books, and cooking.