weird caching going on here

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

weird caching going on here

Post by Burrito »

I am trying to update a page on my site here and somethign is caching this stupid page and will not let it go.

I've added this to my page:

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);

// HTTP/1.0
header("Pragma: no-cache");

and I've deleted my temporary internet files, but for some reason, I can not get the new info to show up on this bastage.

I'm using IE 6.0 and the server is on my local machine here (win xp pro with IIS 5.0)...any ideas????

this is driving me nuts.

also tried ctrl-refresh...still same damn page.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

maybe IIS cached it?
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

how can I tell, or better yet, how can I clear it? I even just rebooted and it's still cached....damn this thing.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

nm I got it figured out...thx
Post Reply