docs(java-cache): describe the module

This commit is contained in:
hoelee committed 2025-11-20 12:19:00 +08:00
1 parent 865698a5eb
commit aaa6f82011
1 file changed
+12
+12
View File
@@ -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
```