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

Load pages and templates on demand

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 2.3.0-M1
    • Component/s: core
    • Labels:
      None

      Description

      At startup time Click eagerly loads templates (and associated page classes) found under the web folder.

      The proposed change is to switch to a lazy loading scheme where pages and templates are only loaded when requested. Scenarios needed to be catered for include:

      • HTTP Request
      • Page.setRedirect
      • Page.setForward

      There is also an outstanding bug which depends on this proposal: https://issues.apache.org/jira/browse/CLK-639

        Attachments

          Activity

            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: