Krash Posted November 23, 2010 Share Posted November 23, 2010 I've added a js scroller to a client's website, and they are able to edit the scroller text using a php text editor. The script is in a .txt file that is added to the homepage with a php include. Problem is, the edits don't show up right away, sometimes not until next day. I've had the same problem with Flash players (playlists are .txt files), and occassionally with image files, in both IE and FF. Browser continues to use the old file, even if cache is cleared, unless file is renamed. I've cleared cache, confirmed that the old file is gone, deleted the file entirely from the server, rebooted - pretty much everything. Tried onLoad="refresh()", no effect. Anyone know what causes this, and how to fix it? Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted November 23, 2010 Share Posted November 23, 2010 have you tried sending no-cache and similar headers? http://www.google.com/search?client=safari&rls=en&q=php+no+cache+header&ie=UTF-8&oe=UTF-8 Quote Link to comment Share on other sites More sharing options...
Krash Posted November 23, 2010 Author Share Posted November 23, 2010 Tried many variations of no-cache techniques when this problem first showed up - none of them worked. Problem is, I've never been able to figure out how or where it's being cached. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.