PDA

View Full Version : Ajax _dc parameter and POST method



teddyjas
24 Feb 2010, 8:10 PM
Hi,

I noticed that in my ajax connections whenever I do POST method, the disable caching parameter is not appended in url or in params. However if using GET method that parameter will always be appended.

I tried overwriting by using Ext.Ajax.disableCaching = true; but still no _dc parameter appended in POST method.

after I check the source code, seems only the GET method will be appended the _dc parameter.

Is there any particular reason why only GET method is appended with _dc?
How to enable the _dc with POST method then? do I hv to overwrite the Ext.data.connection request?

thanks!:D

evant
24 Feb 2010, 8:13 PM
http://stackoverflow.com/questions/626057/is-it-possible-to-cache-post-methods-in-http/626135

teddyjas
24 Feb 2010, 8:21 PM
that was quick...
thanks evant!