Skip to main content

Field notes

Encode a CDN path only as much as it needs

3 November 2026 · Field notes

Encode each segment of a CDN invalidation path, and only the characters the API requires. Keep its reserved set literal, and pin the rule with a test of edge cases.

All posts