Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-31762

portal.cdn.version should have a reasonable default

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.1
    • Fix Version/s: 11.2, 12.0
    • Component/s: Portal
    • Labels:
      None
    • 11 status:
      Resolved

      Description

      Portal is adding a "version=" to web assets and it should default to something more reasonable, like:
      version=c3cc2a0

      The proposals entertained were:
      1) use property "version.sakai" which would give something like:
      jquery.js?version=11-SNAPSHOT
      2) use property "version.service" which would give something like:
      jquery.js?version=c3cc2a0
      3) produce an md5sum from the library jar
      jquery.js?version=7a5e4f0152d2b27363c36e17ed8ca385

      Option 1 may not offer enough entropy.
      Option 2 would already leverage an existing feature from SAK-31442, but also integrates nicely if the user supplies their own version for their service.
      Option 3 while also appealing many places host a static version of the library resource on some frontend.

      So initially going to shoot for option 2

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  ern Earle R Nietzel
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration