The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Displaying updated file with ajax

Hey guys.

So, I've been using ajax calls to change the contents of a file. After the file is changed I have a script that displays the updated version after x amount of seconds.

It works okay, but the problem I've been having is with the updated version displaying itself in ie and safari for windows. It writes the file but it only displays the older version of the file instead of the new updated one. I don't get this problem in current versions of firefox and opera.

Your second solutions sounds like a good option for me. Though, I've had problems in the past getting no-cache headers to work in ie. I've tried about 10 different combinations of headers and it's still wanting to cache, and it's really pissing me off. Do you have a solution for this?