简体   繁体   中英

Is there a limit for caching in Google Apps Script?

I want to know - is there a limit on the size of the data? That is, can such a situation occur that the data that I want to cache will not fit into the cache?

Here is a quote from their site:

The maximum length of a is 250 characters.的最大长度为 250 个字符。 The maximum amount of data can be stored per is 100KB.可以存储的最大数据量为 100KB。 The specified expiration time is only a suggestion; cached data may be removed before this time if a lot of data is cached.

https://developers.google.com/apps-script/reference/cache/cache

I want to know - Is there a limit on the number of ?的数量有限制吗? Or any other limits?

The maximum length of a key is 250 characters. The maximum amount of data that can be stored per key is 100KB. The value will expire from the cache after 600 seconds (10 minutes

Here is the link to the documentation:

https://developers.google.com/apps-script/reference/cache/cache#putkey,-value

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM