Not sure, but have you tried using $.ajax with cache true?

$.ajax({
  url: 'http://api.com/json/callback',
  dataType: 'script',
  cache: true
});


--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Jul 14, 2009, at 1:12 AM, Dan Dascalescu wrote:


If you do something like

$("<script src='http://api.com/json/callback'<" + "/script>").appendTo
("body");

jQuery will tack a timestamp to the URL, in an attempt to prevent
caching:

http://api.com/json/callback?_=1247543709724

However, this can break APIs. Is there a way to disable this automatic
URL modification?

Reply via email to