Found this content helpful? Log in or sign up to leave a like!

[Calendar] Dynamic Event Loading for Calendar

ChedRed
Community Member

When the calendar loads, it seems to fetch all assignments at once. This is intensive, especially for slower school networks. What if the calendar stores the assignments it recently got, then when the site is loaded again, it first loads from the stored events, then it updates them? I saw that the canvas API has the ability to receive changes in assignments since a timestamp, which could also improve speeds.

TLDR; Calendar feature request:

  • Assignments are stored when calendar is first loaded, with a timestamp
  • Stored assignments are loaded first when reloading calendar
  • Calendar fetches and loads new assignments since the stored timestamp
Labels (1)
0 Likes