intermittently when I access my site I get a version of the home page that is weeks old, however the behavior is really strange because the majority of the time I try accessing it I get the current version as expected. I have read up on the issues and believe that I am having caching issues, however the solutions I have tried have not yet solved the issue. i have set the http headers to: header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); also i have tried adding random get variable to the end of the URL to see if that would fetch a fresh copy, and also I have emptied all local temporary Internet files to assure that it is not just my local browser that is doing the caching. however the problem still persist. Intermittently I still get the older page. And its really confusing. I thought maybe even though I changed the headers I was still simply getting an old version of the page and this problem would solve itself as the older version (without the no-cache header) would eventually expire and fetch the newer version with the updated (no-cache) header. However I downloaded a plug in to view what headers were being sent and the updated (no-cache) headers are sent, however the browser still shows the older version of the site. And I don't understand how it can be intermittent, if the server at one point was sending me a fresh copy how come it is now sending me the older expired copy? So now im wondering if im dealing with a caching issue or if its something else. any ideas on what the problem is and how to fix it? Thanks in advance
The above and if using IE set it to force a check for a new page everytime. tools> internet options>general>setting> and make sure the "every time I visit the page" is selected. If that does not solve the problem something else is going on and I don't have a clue what it is.
So this issue has been so frustrating and time consuming, but i think i finally found what was wrong. I figured I would post it in case anyone else is having a similar problem. It looks like one of my name servers was still set to my old host