Caching

RiotQuest has its own Filesystem Cache. At the moment it is not possible to change cache provider. This cache is automatically bootstrapped internally and you don't have to do anything to make it work.

Requests and Caches

Every time you attempt to request to the API RiotQuest will test whether the requested item is already cached. If it is, it'll return the cached item instead of making a new request to the API. Therefore saving your key rate limits.

Working with the cache

Each item in the cache has it's own lifetime (TTL: time to live).

On every request you'll be able to set the cache duration.