Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4178

Replace localStorage with localForage for maxgui

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 22.08.0
    • Component/s: maxgui
    • Labels:
      None
    • Sprint:
      MXS-SPRINT-160

      Description

      localStorage has a size limit of 5MB for most modern browsers unless the user increases it. So, it has a limitation regarding the size limit.
      There is a better storage in the browser which is IndexedDB. It's suitable for storing larger amounts of structured data.
      It can store both objects and key-value pairs, so it saves time converting objects to strings that are needed when using localStorage.
      Its maximum size limit is also larger than localStorage

      There is a library called localForage which will automatically use localStorage in browsers with no IndexedDB or WebSQL support.

        Attachments

          Activity

            People

            Assignee:
            thien.ly Duong Thien Ly
            Reporter:
            thien.ly Duong Thien Ly
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.