Click to See Complete Forum and Search --> : No cache in internet explorer


druss
05-10-2003, 03:02 AM
i am trying to use the no cahce tage in my html so that my file will be deleted straight afterwoods. however for some reason it is not working for me......

I put this tage in my <head> tag

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

yet still nothing happenes???

i am using internet explorer 6 when testing to see if this works, is it because this browser doesnt accept the tage or what???



Thanks
Goran

96turnerri
09-12-2003, 09:10 AM
<script language="JavaScript">
if(window.self.location.href.indexOf("http://")==-1) window.location="";
</script>

hope this helps m8

Fang
09-12-2003, 03:02 PM
web-caching.com (http://www.web-caching.com/)

PeOfEo
09-12-2003, 03:08 PM
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache-control" content="must-revalidate">
<meta http-equiv="Cache-control" content="max-age=0">

This does not keep the browser from actually caching it just makes the browser reload the page each time it visits instead of using its cache