Skip to content
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

gdocs Preferences invalid cache #98

Open
Tracked by #109
unhammer opened this issue Jan 28, 2025 · 0 comments
Open
Tracked by #109

gdocs Preferences invalid cache #98

unhammer opened this issue Jan 28, 2025 · 0 comments

Comments

@unhammer
Copy link
Member

unhammer commented Jan 28, 2025

cf. giellalt/lang-smj#109 (comment)
I kept getting a five year old preferences list for smj, Sjur gave me a tip to try localStorage.clear() in the various iframes and that fixed it.

$ time curl -sS  'https://api-giellalt.uit.no/preferences/grammar/smj' >/dev/null

real	0m0,150s
user	0m0,049s
sys	0m0,009s

The call to /preferences/ is fast; the cache could e.g. be updated on opening the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant