Removing _dc parameter in Ext

ko1ik picture ko1ik · Jan 12, 2010 · Viewed 27.5k times · Source

Using Ext, default Ext.Ajax add to GET-request _dc parameter. For example

GET /ConnViewProcessing/?_dc=1263286227619

How to remove this parameter?

PS: it's necessary to manually cache response to ETag and If-None-Match.

Answer

Lukman picture Lukman · Jan 12, 2010

Set disableCaching option to false:

Ext.Ajax.disableCaching = false;