Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Responce cache

The maximum size for each cached object is 512 kb.If the size exceeds what will be issues.

Is it possible to cache a object having size greater than 512 kb

Solved Solved
0 2 165
1 ACCEPTED SOLUTION

Hi Dinesh,

Thanks for asking!

Any message exceeding 512 kb wont be cached. Cache has a setting named skipCacheIfElementSizeInKBExceeds, which is used to prevent caching overly sized entries. By default, this setting has a value of 512 KB.

Regards

Vidheer

P.S: Please accept this answer if it addresses your query

View solution in original post

2 REPLIES 2

Hi Dinesh,

Thanks for asking!

Any message exceeding 512 kb wont be cached. Cache has a setting named skipCacheIfElementSizeInKBExceeds, which is used to prevent caching overly sized entries. By default, this setting has a value of 512 KB.

Regards

Vidheer

P.S: Please accept this answer if it addresses your query

How can i cache the data size exceeds 512 kb.