Skip to content
Discussion options

You must be logged in to vote

Hi @cdhermann.

The quarkus-cache doc was recently updated and now contains a detailed section about how the cache keys are generated. The doc on the Quarkus website doesn't show that update yet but 2.10.0.Final was released a few days ago so I guess the website will be updated soon.

The method name or the return type are not used when a cache key is built by the extension. If the annotated method has one or more arguments, then the cache key is built only from arguments. Otherwise a default cache key can be built from the cache name. This means that the cached data can be accessed/modified/deleted from anywhere in your app indeed.

There is however a way to ensure that the data cached by a…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@cdhermann
Comment options

@gwenneg
Comment options

gwenneg Jun 20, 2022
Collaborator

Answer selected by cdhermann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants