I'm writing Chrome Extension for library that I work at. The extension fetches the latest book titles from library's API every time it's opened.
As it gets used by more and more people it's putting big load on library's servers who send API data.
What would be the way to cache data in a Chrome Extension?
For example, I'd like to get the data the first time Chrome Extension is opened, then save it (not sure where?), and only after 1 hour has passed do request to API and save data again.
Can someone recommend a way to do this in Chrome Extension?