3 ms·
These are called slugs <https://en.wikipedia.org/wiki/Clean_URL#Slug https://en.wikipedia.org/wiki/Clean_URL#Slug>. If you’re willing to commit to a persistent
by chrismorgan 3y ago
These are called slugs <https://en.wikipedia.org/wiki/Clean_URL#Slug https://en.wikipedia.org/wiki/Clean_URL#Slug>. If you’re willing to commit to a persistent slug, please do: they are nicer. But for many applications, e.g. most user-generated content, you can’t be confident they won’t change. There’s a reason for the general advice to not use data as a primary key in databases, but to use a separate ID.