What's the current best practice around path parameters in URLs?
For instance
/artist/name
A long time ago I might have made artist.html
and then passed in a query parameter /artist.html?name=name
but it seems path parameters are the standard (and nicer to look at).
So assume I'm using apache, nginx, etc. Are these just rewritting /artist/name
to '/artist.html?name=name` and then the Javascript is reading the query parameters? How is this done in the static html / ajax world we live in?
Thanks