Skip to content

Idea: Reduce localStorage requirement #129

@cdot

Description

@cdot

At the moment we use CBOR for encoding a game for storage. A typical Scrabble game stored this way is between 2K and 40K in size. This is generally not a problem for a filestore, as used in the client/server model, but for standalone the LocalStorage capacity is limited in some browsers so we want to encode games as small as possible. The maximum for any specific browser can be found using http://dev-test.nemikor.com/web-storage/support-test/ with 5MB being a typical maximum. Worst case of 40K per game, that would mean a maximum of 125 games could be held. That's really not a big issue, though working out how to clear down local storage may be an issue for some users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions