jQuery tabs cache and ajax cache parameters

There are 2 cache parameters in jQuery UI tabs control:

  1. In the JQuery Tabs options params, you can set the cache to true and the ajax won’t run everytime you click on the tab. The content will be saved in some cache on client side after first ajax loading.

    cache: true

  2. There is also AJAX cache parameter. It adds quirk suffix to avoid GET request caching by IE.
    As you know, IE caches GET requests and FF doesn’t.

       ajaxOptions: {
         cache: false


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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: