Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

API コールのキャッシュ #137

Open
sya-ri opened this issue Jun 1, 2021 · 0 comments
Open

API コールのキャッシュ #137

sya-ri opened this issue Jun 1, 2021 · 0 comments
Assignees
Labels
progress/discuss 進捗。議論中 type/feature 種類。機能の追加・変更

Comments

@sya-ri
Copy link
Member

sya-ri commented Jun 1, 2021

User コンテキストの内容と、取得した時間を localStorage に格納する。

localStorage の時間と現在時間の差が指定時間以上であれば、再度 API をコールする。

キャッシュ時間はとりあえず 5分 としておく。

@sya-ri sya-ri added type/feature 種類。機能の追加・変更 progress/discuss 進捗。議論中 labels Jun 1, 2021
@sya-ri sya-ri self-assigned this Jun 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
progress/discuss 進捗。議論中 type/feature 種類。機能の追加・変更
Projects
None yet
Development

No branches or pull requests

1 participant