Jump to content

Browser caching AJAX results?


almightyegg

Recommended Posts

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

error.JPG

and then reverts to the actual data

right.JPG

 

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

Link to comment
https://forums.phpfreaks.com/topic/148403-browser-caching-ajax-results/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.