numbas / numbas-lti-provider

An LTI tool provider to run Numbas exams
https://docs.numbas.org.uk/lti/en/latest/
Other
11 stars 12 forks source link

Fetch timeline items for contexts in the background and cache the result, instead of fetching each time the resource dashboard page is requested #328

Closed christianp closed 3 months ago

christianp commented 3 months ago

I'd assumed that it would be OK to fetch the list of AGS line items from the platform each time the resource dashboard page is loaded.

An institution in South Africa noticed that requests to the Blackboard API quite frequently times out, and other times is noticeably slow.

There should be a background task to fetch the list of line items, maybe triggered each time a resource is created, and the results should be cached.