Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Cache contents to optimise load time and API calls #9

Open
tripu opened this issue Mar 18, 2016 · 0 comments
Open

Cache contents to optimise load time and API calls #9

tripu opened this issue Mar 18, 2016 · 0 comments

Comments

@tripu
Copy link
Member

tripu commented Mar 18, 2016

A page visit should not trigger a bunch of API requests every single time the same user visits it on the same client.

Some wild ideas:

  • Client-side:
    • Web storage.
    • Web SQL DB.
    • Indexed DB.
    • Service workers.
    • Application cache.
    • Cookies.
  • Server-side:
    • Configure W3C's servers to cache common API requests. The requests for the most common entities (probably: groups and specs) can be easily cached if we ignore the API key and assume there's not pagination, etc. I suspect that makes up a big chunk of the total number of requests the API will receive.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant