cache

enables/disables an additional param to prevent caching

Example

// simple data sending
window.dhx.ajax.get("server.php?param=value");
 
// request: server.php?param=value&dhxr01402493059471=1
 
// now enable cache, it will disable extra-param
window.dhx.ajax.cache = true;
window.dhx.ajax.get("server.php?param=value");
 
// request: server.php?param=value

Details
  • false by default (i.e. caching disabled, extra param will be added)
  • affects all request types: post, postSync, get, getSync
Change log

added in 4.0.1

Back to top