tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] Closed: (TAP5-706) In an AJAX response multiple Javascript files are included. This should be reduced to include the needed files only once to minimise the response size
Date Wed, 06 Jan 2010 20:39:55 GMT

     [ https://issues.apache.org/jira/browse/TAP5-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Howard M. Lewis Ship closed TAP5-706.
-------------------------------------

    Resolution: Duplicate
      Assignee: Howard M. Lewis Ship

> In an AJAX response multiple Javascript files are included. This should be reduced to
include the needed files only once to minimise the response size
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-706
>                 URL: https://issues.apache.org/jira/browse/TAP5-706
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Andrej Aschenbrenner
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> Having a Mixin:
> @IncludeJavaScriptLibrary(value = { "../h4p.js", "AjaxEvent.js" })
> @MixinAfter
> public class AjaxEvent {
> ...
> which includes per @IncludeJavaScriptLibrary many Javascript files
> and when this Mixin is attached to multiple Components then
> the following AJAX response is sent back (snippet from the AJAX response):
> ...,"scripts":["/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js","/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js"],"script":"Tapestry.decimalFormatSymbols
= {\"minusSign\":\"-\",\"groupingSeparator\":\".\",\"decimalSeparator\":\",\"}.....
> This could be reduced to:
> ...,"scripts":["/Test/assets/app/cce8dc1a4ba1736d/h4p.js","/Test/assets/app/cce8dc1a4ba1736d/mixins/AjaxEvent.js"],"script":"Tapestry.decimalFormatSymbols
= {\"minusSign\":\"-\",\"groupingSeparator\":\".\",\"decimalSeparator\":\",\"}.....
> Thanks,
> Andrej Aschenbrenner

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message