Applying time stamp to YUI AJAX calls for IE

In my previous post on this topic, I described the basic idea on using time stamp to work around the caching issue with IE. Here are additional notes on how to time stamp enable various YUI components using the same concept.

For autocomplete widget, you can override doBeforeSendQuery function and manually add timestamp parameter. See API document for more information.

For datatable widget, you can manually add time stamp parameter to initialRequest parameter. See documentation for more information.

If you are working with a connection object, you can configure cache:false in the callback function. This will automatically add the time stamp workaround for you. See documentation for more information.

Advertisement

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s