Path versioning or headers

Back to list2024-11-25
You

Path versioning or headers?

ChatGPT

Path versioning, for a small team. It is visible in logs, cacheable, and trivially explained. Header negotiation is more elegant and is the version people get wrong in curl, in caches and in the one client that matters.

You

Does this still hold if I am working alone?

ChatGPT

It gets easier, not harder. A fair share of the difficulty is coordination, and that disappears. What remains is remembering your own decisions, which is what writing them down is for.