You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Martin Strand (JIRA)" <de...@tapestry.apache.org> on 2008/03/01 04:35:51 UTC

[jira] Commented: (TAPESTRY-1792) JavaScript libraries should be automatically packed/minimalized

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

Martin Strand commented on TAPESTRY-1792:
-----------------------------------------

Yahoo's compressor works great, is very efficient, and can also compress css:
http://developer.yahoo.com/yui/compressor/

The js/css files bundled with Tapestry can be compressed at build time if you use this Maven plugin:
http://alchim.sourceforge.net/yuicompressor-maven-plugin/

> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org