Skip to content

Look at whether suspend data can be made more efficient #1080

@christianp

Description

@christianp

Somebody encountered SCORM's limit of 64,000 characters on the suspend data. The LTI provider doesn't enforce this, but generic SCORM players do.

We should try to make the suspend data as small as possible, so that as many exams as possible will work. Obviously there has to be an upper limit on the size of an exam - an exam with 64,001 parts could never fit in 64,000 characters, as a simple upper bound.

At the moment, lots of values are included even if they have the default value. We could try only including keys if they have a non-default value.

Going even further, a lot of space is taken up by the names of object keys. If we use something other than JSON, then we could either assume we know the shape of the data and omit the keys entirely, or give a structure definition at the start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficult!Issues that will take a long time to implement, or involve big breaking changesNeeds thinking about

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions