But it just won't do anything. I'm confused why you think this is a "vulnerability".
Howard Miller
Oqallisissiat Howard Miller-imit allatat
I'm just going to point you to... https://moodle.org/mod/forum/discuss.php?d=356184
No. It's a "custom" variation on the Gradebook. So, a load of fairly expensive aggregation calculations are done and I end up with a bunch of objects containing the results. What I don't want to have to do is to recalculate all (or some) of this when the user re-displays the grade table. BUT... I *do* need to invalidate it if something that would make a difference to the calculations changes. Obviously, I don't want to invalidate the data for every course, just this one. If that makes sense.
But I'm starting to think that storing intermediate results in the database may end up easier. Clearly, the table just has a 'courseid'. Easy.
That did occurr to me, but it means storing the array of keys somewhere.
It feels like this should be reasonably straightforward - but it's completely evading me
It feels like this should be reasonably straightforward - but it's completely evading me
Al, unless I'm spectacularly missing the point, I'm talking about the cache, not the database.