forked from overhangio/openedx-scorm-xblock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Both GetValue and SetValue were being performed synchronously, which caused clogging of the frontend with many get/set calls. To address this we do the following: - GetValue calls do not result in HTTP requests if the value is available in the scorm_data. - SetValue calls are performed asynchronously; however, the ordering of the calls is preserved, for consistency. Values are stored in scorm_data such that GetValue calls can return even faster. These changes result in drastic user experience improvements.
- Loading branch information
Showing
2 changed files
with
61 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters