You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jérôme BERNARD (JIRA)" <de...@tapestry.apache.org> on 2007/10/01 09:09:52 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#action_12531422 ] 

Jérôme BERNARD commented on TAPESTRY-1792:
------------------------------------------

This page might help:
http://getahead.org/blog/joe/2005/07/22/javascript_who_wants_a_compression_utility.html

You've got JSMin (http://www.crockford.com/javascript/jsmin.html -- AS IS licence) Java translation at:
http://inconspicuous.org/projects/jsmin/JSMin.java

> 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
>
> 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