logoalt Hacker News

chuckadamsyesterday at 11:11 PM0 repliesview on HN

If you do content negotiation, then it’s imperative to send “Vary: accept” in your response. CF and all other CDNs will automatically do the right thing when they see that header.

Content negotiation still has its uses, but most of the time you’re better off using different endpoints.