[Smaug] Smaug Web pages
Rick Moen
rick@linuxmafia.com
Thu Jan 31 13:00:01 2002
David, thanks. Just to follow up one thing:
> Reintroducing those was inintentional. I'm not convinced I write "./"
> as a link, though.
Just to clarify, I was _recommending_ linking to something approximately
of that form, instead of "index.html" or "index.html#foo".
People usually arrive at the site using URLs like "http://www.scruz.org/".
So, that URL gets pulled down and put into the browser cache.
Subsequently, if a site-internal link points to "index.html", then the
browser will pull down that same HTML a second time, because the browser
thinks "http://www.scruz.org/index.html" isn't in its cache.
Linking only to URLs of syntax like "./" (or "../", etc., as appropriate)
eliminates that problem.
And one should avoid leading people to bookmarking URLs like
"http://www.scruz.org/index.html", because, unlike
"http://www.scruz.org/", those break if we ever switch from index.html
to (e.g.) index.php, index.shtml, index.phtml, etc.
Thanks again.