REQUIRED INFORMATION
Ext version tested: Browser versions tested against: DOCTYPE tested against: Description: - I see ComponentLoader inherits an ElementLoader's disableCaching. This destination "Appends current timestamp to script files to prevent caching." of the disableCaching option seems not be actual for a ComponentLoader. But should not it be overridden to pass it as an option of an AJAX request?
- Setting up a disableCaching option in an ajaxOptions works.
Steps to reproduce the problem: The result that was expected: The result that occurs instead: - There is "?_dc=..." in the URL regardless the "disableCaching: false" setting.
Test Case:
Code:
<!DOCTYPE html>
<html>
<head>
<title>Loader disableCaching</title>
<link rel="stylesheet" href="../resources/css/ext-all.css" />
<script src="../ext-all-debug.js"></script>
<script>
Ext.onReady(function () {
Ext.create('Ext.panel.Panel', {
renderTo: Ext.getBody(),
loader: {
url: '/Test/GetItems',
renderer: 'component',
disableCaching: false,
autoLoad: true
}
});
});
</script>
</head>
<body>
</body>
</html>