shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Saputra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SHINDIG-1581) When default-forced-libs and externalize-feature-libs, feature resources are duplicated.
Date Thu, 18 Aug 2011 17:36:27 GMT

    [ https://issues.apache.org/jira/browse/SHINDIG-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087135#comment-13087135
] 

Henry Saputra commented on SHINDIG-1581:
----------------------------------------

I am not sure I understand your last comment. Were you saying with the patch, running sample
gadgets wont work?

> When default-forced-libs and externalize-feature-libs, feature resources are duplicated.
> ----------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1581
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1581
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 2.0.2
>            Reporter: Hasan Ceylan
>            Priority: Blocker
>         Attachments: SHINDIG-1581-trunk.patch, SHINDIG-1581.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message