[ 
https://issues.apache.org/jira/browse/TAP5-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659441#action_12659441
 ] 

Howard M. Lewis Ship commented on TAP5-73:
------------------------------------------

Like any other performance issue, it is necessary to measure.

I will be implementing this such that the level of packed/minimilzed & combined 
is controllable via a symbol contribution.

The packed/gzipped/combined JSs will have far future expiration dates which 
should help the client-side to cache.

My prediction is that a typical site will have very similar JS requirements 
page-to-page and will therefore see a net improvement here.

> JavaScript libraries should be automatically packed/minimalized
> ---------------------------------------------------------------
>
>                 Key: TAP5-73
>                 URL: https://issues.apache.org/jira/browse/TAP5-73
>             Project: Tapestry 5
>          Issue Type: New Feature
>    Affects Versions: 5.0.15
>            Reporter: Howard M. Lewis Ship
>
> Tapestry should catch downloads of JavaScript libraries, and should "pack" 
> the JavaScript ... remove comments and unecessary whitespace.  I believe Dojo 
> has a library to do this, it may even shorten variable names (!).
> A smart implementation of this would manage to cache the compressed JS, and 
> notice when the uncompressed version changed.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to