Kora Aop Caching

Kora 2.0 declarative caching via compile-time AOP — @Cacheable / @CachePut / @CacheInvalidate / @CacheInvalidateAll from io.koraframework.cache.annotation, with the args key attribute and CacheMode.SYNC|ASYNC. Covers the typed @Cache interface over CaffeineCache (io.koraframework:cache-caffeine) or RedisCache (io.koraframework:cache-redis-lettuce + LettuceRedisCacheModule), CacheKeyMapper + @Mapping, @Json Redis value types, LoadableCache, and stacked L1/L2 multi-level caching. Use when adding caching to a Kora service, choosing Caffeine vs Redis, porting Kora 1.x parameters= / invalidateAll=true, or debugging "Config expected value, but got null at path: 'ROOT.<cache>.keyPrefix'".

kora-projects 575d779 12 files · 135.2 KB Updated

File contents

kora-projects/kora-skills/tree/main/plugins/kora-v2/skills/kora-aop-caching commit 575d7794e7

Frequently asked questions

npx skillmds@latest add kora-projects/kora-aop-caching-2