Implement a resource compressor service that allow compressor pluggable
-----------------------------------------------------------------------
Key: GTNPORTAL-1420
URL:
https://jira.jboss.org/browse/GTNPORTAL-1420
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Trong Tran
Fix For: 3.2.0-GA
Allow to perform compression of client resources such as javascript or stylesheet. The
compression is specific to resource types and produce a new representation of the same
file that is semantically equivalent. There are a few compressor existing in open source
and we could leverage them.
A ResourceCompressorService that is used by javascript and css services to perform
resource compression. The service is a facade for plugins. The plugins perform the actual
compression, the compressor service is here to factor the common code to plugins and most
importantly the client of the service does not have to chose the implementation, it just
wants compression to occur. It is possible to have several plugins for the same kind of
resource, an integer priority will be used to make the choice possible at runtime.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira