Connecting Tech Pros Worldwide Help | Site Map

Turnning Cache Off !!

onlymars's Avatar
Newbie
 
Join Date: Mar 2008
Posts: 13
#1: Oct 20 '08
Helloo every one, i have an html file linked inside an iframe. the page consist of a news scroller which is displayed in every pages at the website. the problem is dat i update the news inside that html file but most of the time the browser opens the old page instead of the new updated one. how can i turn off the cache of the specific page so that i get the updated page every time. thanx
Member
 
Join Date: Sep 2008
Posts: 40
#2: Oct 21 '08

re: Turnning Cache Off !!


I've never used it myself, but this should do the trick:

Expand|Select|Wrap|Line Numbers
  1. <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
Just put it in the <head> of the news page.
onlymars's Avatar
Newbie
 
Join Date: Mar 2008
Posts: 13
#3: Oct 22 '08

re: Turnning Cache Off !!


i have added the same meta tag 2 days ago but there isn't any effect by it. the page still needs to be hard refreshed to see the updated version.
eWish's Avatar
Moderator
 
Join Date: Jul 2007
Location: Arkansas
Posts: 900
#4: Oct 23 '08

re: Turnning Cache Off !!


Here is an article on Caching that might be helpful. Also, what browser are you using and does your browser have the option to turn off caching?

--Kevin
Reply