Uploaded image for project: 'Click'
  1. Click
  2. CLK-412

Performance improvement for ClickUtils.getResourceVersionIndicator

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5 M2
    • Fix Version/s: 1.5 M3
    • Component/s: core
    • Labels:
      None

      Description

      Optimize the method ClickUtils.getResourceVersionIndicator, by caching the value after the first invocation.

      The call to ClickUtils.getConfigService might be expensive in high thread environment. Or rather the call to getConfigService access the ServletContext attributes, which might perform poorly when accessed from multiple threads.

        Activity

        Hide
        sabob Bob Schellink added a comment -

        Fixed in trunk. Will be available for 1.5-M3

        Show
        sabob Bob Schellink added a comment - Fixed in trunk. Will be available for 1.5-M3

          People

          • Assignee:
            sabob Bob Schellink
            Reporter:
            sabob Bob Schellink
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development