Re: /index.htm reload?
by "Harold A. Driscoll" <harold(at)driscoll.chi.il.us>
|
| Date: |
Mon, 13 Mar 2000 20:43:05 -0600 |
| To: |
Erwin <erwmag(at)email.com> |
| Cc: |
hwg-techniques(at)hwg.org |
| In-Reply-To: |
net |
| |
todo: View
Thread,
Original
|
|
At 03:01 13-03-00 , Erwin wrote:
>does the browser treat "erwnerve.tripod.com" same as
>"erwnerve.tripod.com/index.htm" (and therefore loads
>it from cache) or does it reload it?
They are distinct URLs, and the browser has no way of knowing that they are
the same. A browser can't even presume common practices such as the use of
index.html, and certainly not variations on the theme such as you describe.
If you use variations of a URL, such as index.htm and INDEX.htm and
INDEX.HTM, despite the fact that some servers might choose to not know any
difference, a Web browser also has no choice but to treat them as distinct
URLs for caching purposes. Similarly for the order of parameters such as
?foo=a&bar=b in contrast with ?bar=b&foo=a .
>If they're not treated as same, any tips on how I can work around it?
Use the same path and name in all cases, either explicit or default.
Personally, generally I don't care, since the entry page ideally is
relatively short, but it might distort the presentation of
visited/not-visited anchor links.
As far as local work, I'd suggest anybody creating any Web pages, and
certainly anything more than a few pages of photos of the grandchildren, to
run a local Web server. I'd recommend Apache for either UN*X or Windows
(and defer to other for Mac).
Apache is easy to install and administer, efficient of system resources,
and full-feature in the ways you need it. (This in contrast with PWS, which
inspires flurries of befuddled queries to various discussion lists, has a
bloatware view of resources, and is a very-much crippled version of IIS.)
>(Pls cc to erwmag(at)email.com since I'm on the digest.)
Of course, a courtesy copy is an appropriate courtesy. <g>
Safe computing, /Harold
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Harold A. Driscoll mailto:Harold(at)Driscoll.Chi.IL.US
#include <std/disclaimer> http://Driscoll.Chi.IL.US
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.