You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1 - What is the difference? I have read the documentation, but they seem to to the same thing. https://github.com/twitter/typeahead.js/blob/master/doc/bloodhound.md#prefetch
2 - When thumbprint does not exist, it should still keep the localStorage, and ONLY replace, untill the new results have been fetched. If not, there will be an amount of seconds, where the user is unable to get any results as he type.
The text was updated successfully, but these errors were encountered:
Ha, you bring up a good point. cacheKey and thumbprint effectively provide the same functionality. The 1 difference is that if the thumbprint changes, the data stored in local storage is cleared. If the cacheKey changes, the old data will persist.
When thumbprint does not exist, it should still keep the localStorage, and ONLY replace, untill the new results have been fetched. If not, there will be an amount of seconds, where the user is unable to get any results as he type.
I'm not positive I agree with this, but it's something I'd like to put more thought into whenever myself or someone else gets around to taking a look at #934.
I have two questions:
1 - What is the difference? I have read the documentation, but they seem to to the same thing. https://github.com/twitter/typeahead.js/blob/master/doc/bloodhound.md#prefetch
2 - When thumbprint does not exist, it should still keep the localStorage, and ONLY replace, untill the new results have been fetched. If not, there will be an amount of seconds, where the user is unable to get any results as he type.
The text was updated successfully, but these errors were encountered: