Forcing the browser not to load pages from its cache.
Posted on 1998-09-15
I have a static pageA.htm, pageC.htm and pageB.htm . From pageA I link to pageC . PageC contains a frameset: frame1 displays some static web page; frame2 displays pageB.htm
Suppose I am currently at looking at pageC in the browser, then I modify pageB in NotePad, than in the web browser I link back to pageA, and from there link to pageC. PageB will not show the modification I just made to it in NotePad. If I click the Reload button in the browser however, pageC will update itself showing the modifications made to pageB inside frame2. I guess this is because of the cache in the memory of the browser.
To solve the problem, I put:
<meta http-equiv="Expires" content="January 1, 1970 00:00:00 GMT"> in the <head> of pageC and pageB. However, this did not solve the problem of loading pageB with its lastest content unless I refresh using the Reload button. Help!