Forum Moderators: phranque
If one calls folders / paths of the website www website com/folder/ ....instead of www website com/folder....does that save an extra hit on the server? or not?
I assume it doesn't really matter a lot, but I might want to go with www website com/folder/ anyway, because that's what will be displayed..and well, it's good form (because the path in the source code and the actual path will be the same), but other than that barely matters?
thanks!
A "trailing slash" redirect is issued when the server receives a request for a URL http://servername/foo/dirname where dirname is a directory. Directories require a trailing slash, so mod_dir issues a redirect to http://servername/foo/dirname/.(Emphasis added)
This is easy enough to verify... The Live HTTP Headers add-on for Firefox/Mozilla browsers will show these transactions quite plainly.
Jim