craigsworks.com - Support Forum

Full Version: [Solved] Ajax call cache problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi and congratulations for this great plugin.

I just want to give a wish and advice to developer team; why there is not a optional cache option in the plugin. I am very in need of this option right now.. I am trying to figure it out for hours.. Can you help me please.

P.s: i am sorry for my bad english.
qTip2 addresses this by exposing the $.ajax object directly. Take a look at it if you need this functionality, or use a custom $.ajax call:

JS Code
$('.selector').qtip({
	api: {
		onRender: function() {
			var self = this;
			$.ajax({
				url: 'url',
				data: {},
				cache: false,
				success: function(content) {
					self.updateContent(content);
				}
			});
		}
	}
});
Reference URL's