I Will Not Add Query Strings to Your URLs

48 points by susam


chrismorgan

Thank you for describing how my posts have been useful to you. I write my detailed reviews for a variety of reasons:—

I really value the occasional appreciative comment that I get from random people. Detailed appreciation like yours makes me feel even more warm and fuzzy.

(Here’s a really funny thing: back in January I discovered your site and particularly heartily approved of “more purple links, please”; and now today I learn that apparently I unwittingly inspired your position!)

I published my new website yesterday, and I’m intending to start publishing a lot more reviews, in various media. I wrote a bit about my plans in this direction last month: https://lobste.rs/s/vpdpkq/llm_reviews_cargo_crev#c_8uk441.


I was a little surprised that you already had another example of a page allergic to added query strings. Looks like, of that site, that page alone uses the query string for subpage routing—?1, ?2, ?3 and ?4. Other pages there will tolerate query strings. Fun.

Definitely against the spirit of URLs, as sequential pagination is clearly hierarchical in nature, but I suppose ?page=1 and such is rather common. When I was deciding what status to return, I was concerned 404 might have side-effects from improper assumptions. But perhaps my concern wasn’t warranted: I somehow forgot how much of the web doesn’t use the path meaningfully at all!