I use YQL on my webpage (it should work on IE6-IE9).
I create a dynamic script element and set its source to the URL of the YQL query.
When I load my web page for the first time, it works fine and IE retrieves the latest data.
However, when I delete an item and recreate it (with the same URL), IE uses its local cache and cannot provide the latest data.
When I try to view it in a violin, I do not see an HTTP response (no 200, 304 ... nothing), which means that the response is retrieved from the local cache.
A common solution uses "cachebusting", for example, offered at: How to make IE restart javascript?
However, according to a YQL blog article , caching (adding "& rand = 1234" at the end of the URL) is not recommended.
Does anyone know how to avoid caching and still force IE to reload the script element?
thank,
source
share