I saw Zach's poll on Twitter when they posted it, so I was intrigued to see what the results were. Most people agree with me, that URLs shouldn't have trailing slashes. It turns out that we're probably wrong, technically, but dammit it just looks better. A trailing slash implies additional content! I'm not even sure that I agree with Chris' take, though at least that distinction follows logic I can understand.
The important part, though, is what happened when Zach tested the different approaches:
Here’s what happens when a web browser makes a request to a URL representing this content:
✅ GitHub Pages, Netlify, and Cloudflare Pages redirect to the trailing slash
🟡 Warning: Vercel, Render, and Azure Static Web Apps: slashless
/resourcereturns content but without redirects, resulting in multiple endpoints for the same content.
✅ All hosts agree that
/resource/should return content from
💔 Warning: If you’re using relative resource URLs, the assets may be missing on Vercel, Render, and Azure Static Web Apps (depending on which duplicated endpoint you’ve visited).
In other words, the greatest level of consistency for URLs, redirects, and relative paths is always a trailing slash. The impact (particularly for SEO) varies based on host, but it's always better to just accept that (for now) aesthetics have lost.
I also fully agree with this sentiment:
Ideally, (speaking as the maintainer of Eleventy) folks working on developer tooling should craft tools to create output that uses existing conventions and can be portable to as many hosts in as many different hosting environments as possible.