I am using getJSON
to fetch the results from server side but facing browser cache problems. I want the cache to be false. I tried using this just before my getJSON
call.
$.ajaxSetup({
cache: false
})
但我没有得到预期的结果.它仍然显示了旧的结果.
I also identified some other solutions such as using .ajax
but I really don't want to use that.