Shindig
  1. Shindig
  2. SHINDIG-1581

When default-forced-libs and externalize-feature-libs, feature resources are duplicated.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.5.0-beta1
    • Component/s: Java
    • Labels:
      None

      Description

      For network performance we choose to set externalize-feature-libs to true to lower ifr response sizes. On the other hand we also have some default-forced-libs.

      We have discovered that in this case the external script tag inserted two times one for the default-forced-libs, other for the gadget features. With JS servlet being unaware of there are two separate requests, the transitive dependencies included twice, as a result of this, some of the core libraries included twice.

      This behavior can be tested with setting externalize-feature-libs to true on default java server and running sample-pubsub-2.html from browser.

      The correct implementation should combine the two library requests into one to avoid double-load.

      1. SHINDIG-1581.patch
        3 kB
        Hasan Ceylan
      2. SHINDIG-1581-trunk.patch
        5 kB
        Hasan Ceylan

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Hasan Ceylan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development