-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
more details in readme.md #99
Comments
Yes, a little more information in the readme would be helpful, especially to those who have never added any Spring cache before, and need to know is absolutely needed. |
Some notes from my own experiments just now:
I agree that the documentation needs to be clarified and expanded a little. |
The readme is also incorrect on this point: The code actually searches for |
I understand I can try this out by myself, but in the readme.md document, can you please clarify how exactly this works in concert with Spring Boot? E.g. when you say:
coffee-boots.cache.spec.myCache=maximumSize=100000,expireAfterWrite=1m
Is that "in addition to" spring boot's:
spring.cache.type=caffeine
spring.cache.cache-names=myCache,cache2,cache3
spring.cache.caffeine.spec=maximumSize=500,expireAfterAccess=600s
Or, does the coffee-boots.* properties completely replace spring.cache.* properties?
I hope it is in addition and not replacement. i.e. If I use "cache2" or "cache3" in my class annotation, I get the default/global spring configuration values (500 maxSize in this case); if I use "myCache" in my annotation, I get coffee-boot values (10000 maxSize). If it doesn't work that way, I'd like to request that it does.
Thanks!
The text was updated successfully, but these errors were encountered: