Monday, May 23, 2005

Performance Enhancing URL

When generating hyperlinks, always include a trailing slash if possible. For instance, navigating to http://msdn.microsoft.com/ie takes one more roundtrip than http://msdn.microsoft.com/ie/. When the browser navigates to the /ie url, the server merely sends down a 301 to the /ie/ url. Both links work, but the second version is faster.

Mark Cantrell in his post IE Only Allows Two Simultaneous Connections references Internet Explorer and Connection Limits which has this 301 gem hidden with its comments.

djuggler's personal blog is Reality Me and consults as Superior Internet Designs