It seems that in IE9, using jquery .load will pull data from the browsers cache and so the ‘real time’ effect of AJAX loading content isnt working. Is there any kind of switch to force jquery .load to get the data fresh?
Thansk!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The option to disable caching is available in jQuery if you are using the
$.ajaxlow-level method. This is not represented in the simplified signature forload. You could mimic it instead, by ensuring that the URL is always unique. You can put the current time in milliseconds on the end of the URL to achieve that, since that will practically always be unique:(This presumes that
urlis a string containing the request URL and that it doesn’t have any query parameters currently.)