IE8 getJSON cached data
Simply one really. IE8 is caching my data so it works first time but not afterwards. I need to stop it using cached dat开发者_Python百科a when i call getJSON?
P.S Im currently debuging my site in IE so expect lots of posts from me :) Thanks for all that have helped so far truely are a great help!
Call this before your .getJSON
call:
$.ajaxSetup({ cache: false });
You can send an HTTP header to disable caching from your server-side script.
精彩评论