-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localStorage not refreshed with prefetch #19
Comments
The default TTL is three days. Did you want something shorter? (use the |
Note that the |
Well, it would be good, so I tried ttl_ms like that : $('input[name="regionField"]').typeahead({
name: 'regions',
ttl_ms: 0,
prefetch: '/getregions.json?country=FR',
remote: '/getregions.json?country=FR&query=%QUERY'
}); But prefetch'ed items are always the same. |
Hmm might be a bug. For now you can clear localStorage by running |
Well, localStorage get cleaned. |
I believe #34 will resolve this issue. |
Great ! |
Hi,
localStorage doesn't seem to be refreshed when json changed, when using prefetch.
Thanks !
The text was updated successfully, but these errors were encountered: