What is the size of the cache provided by CacheService using GAS

后端 未结 3 1625
天命终不由人
天命终不由人 2020-12-12 01:42

What is the maximum size of the CacheService ?

I know the maximum time something can be stored in cache is 21600 seconds, but I can\'t find how large the sizes of th

3条回答
  •  旧巷少年郎
    2020-12-12 02:33

    the documentation does not say how large the cache is.
    Even in appengine when using a non-dedicated cache, you dont know how much you will get.
    you can do a lot with whats available. Use the expiration time, and use my answer to the question you linked (How to flush the cache) for a way to "force-expire" individial cached elements. Seems that what you primarily want is to expire them all at once, and the linked answer says how to do it.

提交回复
热议问题