title: Best way to refresh the thumbnail/base url of Google Photos/Google Drive API
body: <p>Google suggests to retrieve the base url again when needed after 60 minutes after the origin query because the url's expire.
  So far, so good. But what if I'm developing a photo gallery and I'm displaying 5000 or them in a grid? Should I query the API again and again? They use a maximum page size of 100 (instead pf 1000 for google drive), so we're starting many requests if that's true.
  I'm already caching the photos locally, but when the user scrolls to another section, the url will be expired after one hour.</p>
  
  <p>What is the best solution for that?</p>