[
http://jira.nuxeo.org/browse/NXP-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30629
]
Florent Guillaume commented on NXP-1825:
----------------------------------------
Earlier version was reverted by
http://svn.nuxeo.org/trac/nuxeo/changeset/27667
http://svn.nuxeo.org/trac/nuxeo/changeset/27668
> NXThemes: make it possible to refer to js/css resources by URL.
> ---------------------------------------------------------------
>
> Key: NXP-1825
> URL: http://jira.nuxeo.org/browse/NXP-1825
> Project: Nuxeo Enterprise Platform 5
> Issue Type: New Feature
> Reporter: Jean-Marc Orliaguet
> Assignee: Jean-Marc Orliaguet
>
> there is a need to call some javascript resources by URL.
> for instance seam/remote.js is generated on-the-fly by seam and it is not
> always possible to create a static file for those types of resources. The
> current solution is to have a local copy of remote.js.
> currently resources served by /nxthemes-lib/ are:
> - referred to by path (opened with getResourceAsStream())
> - compressed (if javascript)
> - gzipped if the client supports it
> - ordered (based on internal dependencies between resources)
> - combined into a single <script src="...">
> - cached on the server
> - cached on the client by setting cache headers
> this reduces the amount of data transfered between the server and the client
> and the number of HTTP connections required to load a page. (see Yahoo
> http://developer.yahoo.com/performance/index.html#rules for a list of
> guidelines)
> to be able to open resources by URL, the nxthemes-lib servlet would have to
> be able to open a connection, which is not always possible because of
> firewall or network configurations.
> one solution would be to restrict such connections to localhost, or have the
> servlet call the resource directly (not sure how).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets