I have an ajax call for a controller that should send me an updated back view so that I can refresh my page with the updated data. But I get 304: Not Modified header back.
I tried using the no-cache option to call ajax and tried to manually add a timestamp at the end of the request url, but did not work in IE9.
This works fine on chrome without setting a caching option.
I am not sure where the problem is.
Below is the code I used, which I thought worked after adding the timestamp manually. QA stated that it does not work on its computer.
$.ajax({ url: form[0].action + "?cc="+new Date().getTime(), type: 'POST', cache: false, data: $(form).serialize() }) .success(createFilterCleanup);
source share