CacheService allows you to access a cache for short term storage of data.
This class lets you get a specific cache instance. Public caches are for things that are not
dependent on which user is accessing your script. Private caches are for things which are
user-specific, like settings or recent activity.
The data you write to the cache is not guaranteed to persist until its expiration time. You
must be prepared to get back null from all reads.
CacheService allows you to access a cache for short term storage of data.
This class lets you get a specific cache instance. Public caches are for things that are not dependent on which user is accessing your script. Private caches are for things which are user-specific, like settings or recent activity.
The data you write to the cache is not guaranteed to persist until its expiration time. You must be prepared to get back null from all reads.