From aaa6f820110a2539199d975a947883686c7dc1d5 Mon Sep 17 00:00:00 2001 From: hoelee Date: Thu, 20 Nov 2025 12:19:00 +0800 Subject: [PATCH] docs(java-cache): describe the module --- platform/java-cache/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 platform/java-cache/README.md diff --git a/platform/java-cache/README.md b/platform/java-cache/README.md new file mode 100644 index 00000000..f2c0e040 --- /dev/null +++ b/platform/java-cache/README.md @@ -0,0 +1,12 @@ +# java-cache + +Bounded Caffeine cache plus role-based security configuration, extracted from +the Spring Boot service in `hoelee/springboot-hoelee-demo`. + +`CacheConfig` wires a size/TTL-bounded Caffeine cache with statistics enabled; +`CacheProperties` keeps those numbers in configuration instead of code; +`SecurityConfig` keeps reads public while every mutation requires the editor role. + +``` +mvn -q test +```