dacastro4 / laravel-gmail

Laravel wrapper for the Gmail API
MIT License
292 stars 134 forks source link

Added page token fetching method for caching #220

Closed musiwei closed 2 years ago

musiwei commented 2 years ago

pageToken is important when the developer needs to cache the result with a unique identifier.

Caching is the recommended behavior when using APIs.

Generally speaking, it is a bad practice to use API for pagination. It is slow and costly. Therefore, it is recommended to retrieve the cached result moving between pages and only flush the cache when have to.