[
https://issues.apache.org/jira/browse/SLING-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617437#comment-13617437
]
Alexander Klimetschek commented on SLING-2805:
----------------------------------------------
Some quick feedback:
* compiler & cache should return inputstreams rather than strings
* in addition to extension, mime types (jcr:mimeType) could be supported as well
* a common case is to concatenate javascript and css for optimized delivery:
that would require
** a) chaining of compilers (coffeescript => js => big js)
** b) compiler that concatenates multiple source files into one output
> Sling Web Resource Cache and Compiler
> -------------------------------------
>
> Key: SLING-2805
> URL: https://issues.apache.org/jira/browse/SLING-2805
> Project: Sling
> Issue Type: New Feature
> Components: Samples
> Reporter: Bob Paulin
> Priority: Minor
>
> Implemented contrib project to allow for the development web resource
> compiler plugins for languages such as CoffeeScript to compile and cache
> content on the JCR. This might make a nice addition to the contrib section.
> See implementations at
> https://github.com/bobpaulin/sling-web-resource.git
> Example implementation for CoffeeScript. Includes CoffeeScript unit tests.
> https://github.com/bobpaulin/sling-coffee.git
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira