Skip to content
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

Document how to configure the cache infrastructure globally #28250

Closed
starriesWEB opened this issue Mar 30, 2022 · 3 comments
Closed

Document how to configure the cache infrastructure globally #28250

starriesWEB opened this issue Mar 30, 2022 · 3 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: documentation A documentation task
Milestone

Comments

@starriesWEB
Copy link

@CacheConfig

An operation-level customization always overrides a customization set on @CacheConfig. Therefore, this gives three levels of customizations for each cache operation:

  • Globally configured, available for CacheManager, KeyGenerator.

  • At the class level, using @CacheConfig.

  • At the operation level.

How to do global configuration?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Mar 30, 2022
@snicoll
Copy link
Member

snicoll commented Mar 30, 2022

By implementing CachingConfigurer. I can see that the reference documentation can be improved there.

@snicoll snicoll added type: documentation A documentation task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Mar 30, 2022
@snicoll snicoll added this to the 5.3.18 milestone Mar 30, 2022
@snicoll snicoll self-assigned this Mar 30, 2022
@snicoll snicoll modified the milestones: 5.3.18, 5.3.x Mar 30, 2022
@linghengqian

This comment was marked as off-topic.

@starriesWEB
Copy link
Author

Because I didn't see it on the official website docs, but it's solved now, thanks

通过实施CachingConfigurer. 我可以看到可以在那里改进参考文档。

@snicoll snicoll reopened this Mar 30, 2022
@snicoll snicoll changed the title @CacheConfig global configuration? Document how to configure the cache infrastructure globally Mar 30, 2022
@jhoeller jhoeller modified the milestones: 5.3.x, 6.0.x Feb 1, 2023
@jhoeller jhoeller modified the milestones: 6.0.x, 6.1.x Feb 14, 2023
@jhoeller jhoeller added the in: core Issues in core modules (aop, beans, core, context, expression) label Aug 18, 2023
@jhoeller jhoeller assigned jhoeller and unassigned snicoll Aug 18, 2023
@jhoeller jhoeller modified the milestones: 6.1.x, 6.1.0-RC1, 6.0.12 Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

5 participants