Maximum expiration time for Cache Services in Goog

2020-06-12 03:16发布

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.

1条回答
爷、活的狠高调
2楼-- · 2020-06-12 04:00

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

查看更多
登录 后发表回答