title: Typeahead 0.10 prevent caching
body: <p>I use twitter's typeahead 0.10 with remote url to retrieve JSON results from server.</p>
  
  <p>I would like to prevent tthe client caching so that the search takes place always on the 
  server. How can I do that? </p>
  
  <p>Please see below my code:</p>
  
  <pre><code> // instantiate the bloodhound suggestion engine
      var dataSource = new Bloodhound({
          datumTokenizer: function (d) {
              return Bloodhound.tokenizers.whitespace(d.value);
          },
          queryTokenizer: Bloodhound.tokenizers.whitespace,
          remote: {
              url: "../" + autocompleteInfo.ControllerName + "/" + autocompleteInfo.MethodName + "?term=%QUERY&amp;ts=" + (new Date().getTime()),
              filter: function (res) {
                  var data = [];
                  data = $.map(res, function (item) {
                      return { label: item.Name, id: item.Id, autocompleteInfo: autocompleteInfo, cssClass: item.Class };
                  });
  
                  return data;
              }
          },
          limit: 15,
          name: 'typeaheadSourceCache',
          ttl: 0,
          ajax: {
              cache: false
          }
      });
  
      dataSource.initialize();
  
      $("#" + autocompleteInfo.AutocompleteId).typeahead({
          minLength: 3,
          highlight: true,
          autoselect: true
      },
          { 
              displayKey: 'label',
              source: dataSource.ttAdapter(),
              templates: {
                  suggestion: Handlebars.compile(
                  '&lt;div class="searchItem {{cssClass}}"&gt;{{label}}&lt;/div&gt;'
                  )
              }
          });
  </code></pre>