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? Link to comment https://forums.phpfreaks.com/topic/219610-cache-persistence-problem/ 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 Link to comment https://forums.phpfreaks.com/topic/219610-cache-persistence-problem/#findComment-1138580 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. Link to comment https://forums.phpfreaks.com/topic/219610-cache-persistence-problem/#findComment-1138592 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.