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

Performance improvement for ClickUtils.getResourceVersionIndicator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5 M2
    • 1.5 M3
    • core
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: