Closed Thread Icon

Preserved Topic: html meta tag question (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18205" title="Pages that link to Preserved Topic: html meta tag question (Page 1 of 1)" rel="nofollow" >Preserved Topic: html meta tag question <span class="small">(Page 1 of 1)</span>\

 
GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 07-11-2001 14:36

what does

<meta http-equiv="pragma" content="no-cache">

???

thanks.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-11-2001 18:01

It instructs proxy servers not to cache page. There are also other directives like "Cache-Control" for example...



[This message has been edited by mr.maX (edited 07-11-2001).]

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 07-11-2001 20:59

Doesn't it also tell the browser not to cache it? That's what I've always thought.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-11-2001 21:33

Actually, that depends from one browser to another. In my tests, almost all browsers ignored that completely...

BTW The best way to (try to) disable caching is to set HTTP headers directly:

<?
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
?>

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 07-12-2001 07:15

thanks for the info, guys.

max, is there a possibility to set headers without a php or other script language?

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-12-2001 07:56

You can use META tags, just like you did with the "pragma"...

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 07-12-2001 15:39

oh yea, sure.
me idiot!

« BackwardsOnwards »

Show Forum Drop Down Menu