Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-10188

separate config options for controlling performance and minification options instead of rice.krad.dev.mode

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      Currently rice.krad.dev.mode controls view caching as well as theme minification/non-minification. Kuali Student would like the ability to instead have 2 separate config options.

      1. for controlling performance
      2. for controlling theme minification

      This is for the use-case whereby KS would like to deploy to test environments where it is desirable to have performance improvements but also essential to have legible JS for error reporting/debugging.

      Another issue with minification of files surfaced when an env was deployed with rice.krad.dev.mode set to true

      The issue standing in our way is that when deployed on an env, the request from the servlet container to http://env8.ks.kuali.org/themes/kboot//theme-derived.properties goes to the bitbucket whereas http://env8.ks.kuali.org:8080/themes/kboot//theme-derived.properties works fine.

      This is (probably) due to the iptables rule that is in place which allows :8080 traffic to be routed to :80 when deployed to the ROOT war. But it ignores internal traffic to port 80, we think.

      Longer term the exploration of theme-derived.properties should be done in a non-URL fashion (classpath perhaps).

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              haroon.rafique Haroon Rafique (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: