Re: /index.htm reload?

by "Rossi Designs" <webmaster(at)rossidesigns.net>

 Date:  Tue, 14 Mar 2000 08:36:24 -0500
 To:  <hwg-techniques(at)hwg.org>,
"2Nerotik" <2nerotik(at)nisa.net>
 References:  nisa
  todo: View Thread, Original
I usually use more than one cache headers just to make sure.

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">

and if I'm using PHP, which is almost always . . .

<?php $rightnow = gmdate("D, d M Y H:i:s") . "GMT";?>
<META HTTP-EQUIV="Last-Modified" CONTENT="<?php echo $rightnow ?>">


Rossi Designs
(904) 226-8979
P.O. Box 1084, Holly Hill, Florida 32125-1084
http://rossidesigns.net
----- Original Message -----
From: 2Nerotik <2nerotik(at)nisa.net>
To: <hwg-techniques(at)hwg.org>
Sent: Monday, March 13, 2000 10:05 PM
Subject: Re: /index.htm reload?


| Yes any site without a specific webpage specified will load (depending on
| the actual server) either index.htm/html or default.htm/html
|
| and yes usually they are cached like any other webpage.
|
| There is a meta tag that can be used to stop the caching of the
| page if that is what you wish but I can't remember what it is
| at the moment.
|
| At 02:31 PM 13/03/2000 +0530, Erwin wrote:
| >Hi everybody,
| >I've just got this small doubt, and a small answer would probably be
enough.
| >
| >When a visitor visits my site through an external link
| >("erwnerve.tripod.com"), the index.htm file is automatically returned.
The
| >links to the home page from other pages in my site are to "/index.htm"
and
| >not "/" [so that I can browse my site on my hard disk]. My question is,
| >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?
| >
| >If they're not treated as same, any tips on how I can work around it?
|
| .oOo.
| ||  Wear short sleeves!  Support your right to bear arms.
| ||
| ||  Addicted 2 Swing ---> http://www.nisa.net/~2nerotik/
| ||  Fontaholic ? ---> http://www.fontsanon.com
| ||  HTML Writers Guild ---> http://www.hwg.org
|

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA