Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 223
tiampen Avatar asked Jul 18 '12 16:07

tiampen


1 Answers

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).

like image 199
Eric Koleda Avatar answered Sep 21 '22 13:09

Eric Koleda