On Dec 6, 2005, at 2:15 PM, Rune Hansen wrote:

My problem is that IE calls the loadJSONDoc in function requestSourceColl once and only once. It seems like it's cached somehow. The alert message in the function is displayed every time.

I have set <META HTTP-EQUIV="Pragma" CONTENT="no-cache"/>, <META HTTP-EQUIV="Expires" CONTENT="-1"/> which according to microsoft.com should negate any form of caching.

Ok, so it sounds like your problem has nothing whatsoever to do with DOM, it's the fact that IE is very aggressive at caching. You need to set the appropriate HTTP headers on the JSON, or just add a random slug to the JSON URL.

http://en.wikipedia.org/wiki/ XMLHttpRequest#Microsoft_Internet_Explorer_Cache_issues

-bob

Reply via email to