Jira issue originally created by user liuggio:
in a big project if you have queries spread out in different
when you have to modify a cache lifetime, you have to search the query and
modify the code, than test it.
Is not so easy also to answer to 'how much is the cache for the query XYZ?'
Each group of repository (bundle) should have in a single point maybe into its config file a place where you could set the lifetime of the various queries.
see the code for a better explanation
the pro: a better handling of the cache mechanism
Do you think is a good approach?
Have you ever had a similar problem?