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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s