coderbunker / gas

G-Suite Google Apps Script (GAS) used with Coderbunker documents
3 stars 0 forks source link

Only refresh thumbnails of slides that have been updated #11

Open rngadam opened 6 years ago

rngadam commented 6 years ago

DESIRED: Only refresh thumbnails of slides that have been updated as refreshing all thumbnails on changes is expensive.

So far, haven't discovered a way to just update on and only the Google Slides that have been modified.

Store and check thumbnail file checksum

Right now, if there are any changes, we re-generate the same thumbnail. Assuming the same slide that the output is deterministic (same pixels out), we could check the md5sum to see if there are any changes.