almightyegg Posted March 7, 2009 Share Posted March 7, 2009 I have a section of my page brought in by an AJAX function that reads a .txt file and it keeps showing this for a brief section and then reverts to the actual data I believe that it is caching old data and then realising it's not there, how do I stop this with AJAX? If you need to see my code I can but I'm hoping it's going to be a simple function or attribute Quote Link to comment https://forums.phpfreaks.com/topic/148403-browser-caching-ajax-results/ Share on other sites More sharing options...
The Little Guy Posted March 11, 2009 Share Posted March 11, 2009 It is probably your PHP loading the txt file, then when the onload function runs, it replaces it... Quote Link to comment https://forums.phpfreaks.com/topic/148403-browser-caching-ajax-results/#findComment-782390 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.