GraphQL allows clients to query specific and certain data. REST leverages HTTP caching and integrates easily with other APIs. See more about these approaches by looking at GitHub’s Public API.
See the basics of IndexedDB—create a database, add data, retrieve data and delete data—and advanced topics such as indexing, transactions and versioning.