tiampen
tiampen

Reputation: 131

Maximum expiration time for Cache Services in Google Apps Script

Does anybody know what the maximum expiration time for Cache Services in Google Apps Script is? I am running my script on Google Sites and have tried to run a trigger that re-caches the cache, but the cache seems to still expire overnight and I am not certain how long it lasts. If anyone has timed the actual length of the cache it would be good to know - unfortunately, Google hasn't made this info public.

Upvotes: 13

Views: 3056

Answers (1)

Eric Koleda
Eric Koleda

Reputation: 12673

We are working on adding that information to our documentation, but the maximum time something can be stored in the cache in 6 hours (21600 seconds) and the default time is 10 minutes (600 seconds).

Upvotes: 17

Related Questions