Skip to content

gdocs Preferences invalid cache #98

@unhammer

Description

@unhammer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions