tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Strand (JIRA)" <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-1792) JavaScript libraries should be automatically packed/minimalized
Date Sat, 01 Mar 2008 03:35:51 GMT

    [ 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


Mime
View raw message