Good evening everyone! So basically i take the data from a file with ajax and put it in HTML div. The problem here is if i change anything in the file, then save it and reload my page, the content in the HTML is not updated, but is still the same. However when i set in Mozilla cache to 0 it updates the information.
$.ajax({
url: "./Tasks/2014/10.09.2014/Task_100914.txt",
async: true,
cashe: false,
success: function (data){
$('#task').text(data);
pageExecute.fileContents = data;
}
});
I tried with "cashe: false", but it does not work.