You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Michael Rush (JIRA)" <ji...@apache.org> on 2006/11/15 23:53:38 UTC
[jira] Commented: (VALIDATOR-142) [validator] compress javascript
[ http://issues.apache.org/jira/browse/VALIDATOR-142?page=comments#action_12450219 ]
Michael Rush commented on VALIDATOR-142:
----------------------------------------
FYI.. The compressed versions are not included in the 1.3.0 binary distribution. They were created/included in the jar when I downloaded/built using the source.
> [validator] compress javascript
> -------------------------------
>
> Key: VALIDATOR-142
> URL: http://issues.apache.org/jira/browse/VALIDATOR-142
> Project: Commons Validator
> Issue Type: Improvement
> Environment: Operating System: other
> Platform: Other
> Reporter: Michael Rush
> Priority: Minor
>
> I've noticed that the javascript files in the commons validator are pretty big in terms of whitespace. As a
> result, the static javascript file used on my site (i.e. generated by the html:javascript tag) is also large,
> about 43k.
> One way to reduce the size of this file would be to add an optional attribute to JavascriptValidatorTag that
> inidicates to compress the output.
> I'm not sure if there's any existing javascript compressors in the commons project. The folks at dojo have
> implemented one using Rhino (http://dojotoolkit.org/docs/compressor_system.html) I'm sure there are
> others.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org