[ 
https://issues.apache.org/jira/browse/TAPESTRY-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620195#action_12620195
 ] 

Ernest Monklitch commented on TAPESTRY-1792:
--------------------------------------------

Files bundled with Tapestry should be compressed at build time imho.

I personally don't want T5 to consume any precious cpu cycles compressing and 
concatenating files during runtime or consume memory caching those, as it can 
be easily achieved using build time tools. Hence, please make this configurable.

I recommed packing files bundled with T5 build time. There should be a 
configuration symbol to decide whether to use packed or non-packed files though 
(Both should be part of distribution.). 

That, and add packing to be part of maven quick start should be enough.

I've used yui for my projects without single problem. (Although my js doesn't 
compare to dojo etc. at any level.)

> JavaScript libraries should be automatically packed/minimalized
> ---------------------------------------------------------------
>
>                 Key: TAPESTRY-1792
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1792
>             Project: Tapestry
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.0.5
>            Reporter: Howard M. Lewis Ship
>             Fix For: 5.1
>
>
> 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