mazipan/ghibli-fans

Add cache to localStorage or sessionStorage

mazipan opened this issue · 0 comments

Currently all request will always direct to API.
We need to reduce request for faster interaction.
So prefer cache in client browser.
We can choose sessionStorage or localStorage but with adding time for expiration.

Need to think also, where is the best place to put this cache setup in the code.