I have jstree. when loading a page, jstree fills the file from the server when it makes a new call on the server, but after that, when I refresh the page, it will always extract data from the cache and not call the server, thereby always accepting the old data for filling. I am using jstree version 3.0.2. Below is the code that jstree generated when the page loaded.
$('#tree').jstree({
'core': {
data:{
'url':'getjstree'
}
}});
how do we solve this in order to get fresh data for each call, one solution that I used to think about using is javascript code for a hard update, calling
location.reload(true);
but this updated the json data, but went into a recursive call and thereby hung the page. Help us solve this problem.