Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6793

Cache dashboard localisation when evaluating a report or fetching a dashboard.

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.10.0
    • None
    • backend
    • None
    • Not defined

      Currently, like it is mentioned in this review comment https://github.com/camunda/camunda-optimize/pull/5957#discussion_r1117345803 whenever someone evaluates a report or fetches a dashboard, the localisation if being read from a file. This means that everytime Optimizes does the evaluation has to open that file and read the localization which can be an expensive operation.

      We should therefore implement a cache so that we read the localization file only once.

      ATs:

      • The localization file gets opened only once
      • There is a cache implemented which stores the file content and where we further read the file from

      Testing Notes:

      • Optimize works as expected in different supported locales
      • The fallback locale is used when the current browser locale doesn't have a saved localisation file

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              andromachi.rozaki Andromachi Rozaki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: