Cache attributes

Not applicable

I see the below in my cache.properties on MP

# max size to be cached in cassandra - 512kb 
second.level.cache.element.max.size.in.bytes=524288

and

skipCacheIfElementSizeInKBExceeds in the schema while creating the env cache .

If I have skipCacheIfElementSizeInKBExceeds as 256 kb , does that mean

#1 cache no entries in L1 and L2 which are > 256kb ?

or

#2 skip L1 but cache in L2 if size < 512 kb ?

If #1 is correct is there any way to not cache in L1 but always in L2 ?

0 1 410
1 REPLY 1

Hi @Maruti Chand

AFAIK #1 is correct.

I don't think there is a way to cache in L2 but not in L1.