IE cache issue is annoying. Don't know why but MochiKit don't add a
time stamp by itself so that we have to pass the parameter manually
every time. I just fix this issue in my MochiKit.js, here's my code
for anyone who needs it.
# Original source (MochiKit.js at r1269)
2472 if(arguments.length>1){
2473 var m=MochiKit.Base;
2474 var qs=m.queryString.apply(null,m.extend(null,arguments,1));
2475 if(qs){
2476 return url+"?"+qs;
2477 }
# Modified version
2472 if(arguments.length==1){
2473 return url+"?"+'×tamp='+new Date().getTime();
2474 }
2475 if(arguments.length>1){
2476 var m=MochiKit.Base;
2477 var qs=m.queryString.apply(null,m.extend(null,arguments,1));
2478 if(qs){
2479 return url+"?"+qs+'×tamp='+new Date().getTime();
2480 }
Hope this feature could be placed in the next release.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---