@Jack Whats the difference between cache: true or cache: 'local'?


#1

I’ve always wondered what the difference was between setting cache: true or cache: 'local'? I suppose I could look at the api.js code. :joy:

cache : Can be set to ‘local’ to cache successful returned AJAX responses when using a JSON API. This helps avoid server roundtrips when API endpoints will return the same results when accessed repeatedly. Setting to false, will add cache busting parameters to the URL. (and cache : true?)