I know there are lots of reasons to hide the file extension in your URLs. Is there any benefit to showing them, though?
3 Answers
None, if the content is going to be viewed in the browser. For downloads or content you are expecting the user to interact with as Content-Disposition: attachment, users might prefer to see the familiar extensions. It's still perfectly possible though to serve files using URLs like example.com/audio/2011-05-08 and use the HTTP header to prompt the browser to use a filename with an extension when saving.