Closed Thread Icon

Preserved Topic: IE caching and PHP (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=20870" title="Pages that link to Preserved Topic: IE caching and PHP (Page 1 of 1)" rel="nofollow" >Preserved Topic: IE caching and PHP <span class="small">(Page 1 of 1)</span>\

 
rotren
Bipolar (III) Inmate

From: Camrose, Alberta, Canada, Hörnefors, Västerbotten, Sweden
Insane since: Jun 2000

posted posted 03-17-2001 17:24

I am running PHP on a Xitami web server locally to develop my code. IE (I'm using 5.5) has a habit of caching the pages and won't show the latest saved page, no matter how many times I reload the page. I have to manually clear the Internet cache to get it to show the correct page. This does not happen in Netscape 4.7.

Any ideas as to why?

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 03-17-2001 21:07

2 things you can do first most developers I know set IE to get a new page everytime they view a page TOOLS>>INTERNET OPTIONS>> Genral Tab select the "Advanced" button.

Second you can try putting an Expire meta tag in the head of your pages. Which may force IE to get a new page.
<META HTTP-EQUIV="Expires" CONTENT="Fri, 16 March 2001 05:01:07 GMT">



Walking the Earth like Kane

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 03-17-2001 23:26

Put this at the top of your document:

<?
header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
header ("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header ("Pragma: no-cache"); // HTTP/1.0
?>



[This message has been edited by mr.maX (edited 03-17-2001).]

rotren
Bipolar (III) Inmate

From: Camrose, Alberta, Canada, Hörnefors, Västerbotten, Sweden
Insane since: Jun 2000

posted posted 03-19-2001 02:05

Thanks, Mr. Max. You always seem to have an answer to every technical question there is. Don't you have a life? Hehehe!

Fquist
Obsessive-Compulsive (I) Inmate

From:
Insane since: Mar 2001

posted posted 03-24-2001 03:14

You can use ctrl+refresh button to do a total refresh.

rotren
Bipolar (III) Inmate

From: Camrose, Alberta, Canada, Hörnefors, Västerbotten, Sweden
Insane since: Jun 2000

posted posted 03-24-2001 07:23

Really, that sounds great, I didn't know about that one. I just love these neat keyboard shortcuts when I find a new one! Windows button + D is great for minimizing windows, and bringing them back again.

« BackwardsOnwards »

Show Forum Drop Down Menu