Cache items need to be validated to check if their references are still there. For example, a user can remove an object class and later fetch the objects of that class. So as these objects are fetched, we need to check if the class is there to find out that it's not and that the objects are actually invalid. This is done and working, but this PR caches the results of the validation to speedup things like the purge.
Checklist before merging
[x] Documentation (also in Toolbox repo) is up-to-date
[x] Release notes in Toolbox repo have been updated
[x] Unit tests have been added/updated accordingly
Cache items need to be validated to check if their references are still there. For example, a user can remove an object class and later fetch the objects of that class. So as these objects are fetched, we need to check if the class is there to find out that it's not and that the objects are actually invalid. This is done and working, but this PR caches the results of the validation to speedup things like the purge.
Checklist before merging