You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Ben Weidig (Jira)" <ji...@apache.org> on 2022/03/28 14:15:00 UTC
[jira] [Commented] (TAP5-2708) CssCompressor update/optimizations
[ https://issues.apache.org/jira/browse/TAP5-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17513415#comment-17513415 ]
Ben Weidig commented on TAP5-2708:
----------------------------------
The following changes are planned:
* Update to latest version
* Extract RegEx pattern to static final variables, and make them actual compiled Pattern objects
* Reduce the amount of replaceAll if possible
* Add Strategy for disabling compression of StreamableResources, like org.apache.tapestry5.webresources.GoogleClosureMinimizerOptionsProvider does without focus on options
* Transfer Test-CSS from [https://github.com/yui/yuicompressor/tree/master/tests] to ensure it's working as intended (License!)
> CssCompressor update/optimizations
> ----------------------------------
>
> Key: TAP5-2708
> URL: https://issues.apache.org/jira/browse/TAP5-2708
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-webresources
> Affects Versions: 5.8.0
> Reporter: Ben Weidig
> Priority: Minor
>
> CssCompressor used by Tapestry is a copy of the YUI Compresser for CSS.
> Minification breaks/outputs wrong content for some edge cases, and the code in general code be optimized, like pre-compiled Patterns.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)