--
You received this message because you are subscribed to the Google Groups "wro4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wro4j+un...@googlegroups.com.
To post to this group, send email to wr...@googlegroups.com.
Visit this group at http://groups.google.com/group/wro4j.
For more options, visit https://groups.google.com/d/optout.
Alex,Sorry, Google did not notify me about your answer.
There are actually multiple transformations I'd like to run on the HTML:
-. Extract the contiguous JS files references and replace them by a single one, pointing to a single aggregated file Basically, I want to prevent the user from having to manage a separate wro.xml, but do the job automatically.
- I'd like to run some HTML static transformations, like localization (identifying the strings to localize and generate several language dependent html pages)
- Optimize the JS / CSS contained within a page It is more for an obfuscation standpoint than a real performance optimization..I believe that WRO4J has the right design for triggering these transformations, do not you think?
Phil.
On Thursday, February 19, 2015 at 2:56:20 AM UTC-5, Alex Objelean wrote:
Hi Phil,It was not really designed for minimizing anything else, but css & js (and its siblings like less, sass, coffeescript, etc).Trying to minimize html before, Would I ask myself if it is not enough to just gzip it. If you want to minimize it Still, Could you just create a plain filter, or Use something like htmlcompressorCheers,Alex
On 19 February 2015 at 01:01, < ph ... @ riand.com > wrote:
Hello Alex,I quickly looked at the source code, and found that the CSS and JS resources types are defined in the ResourceType class, without an extension point.
Now, I would like to process other resources like HTML to minify the pages and eventually deduce some JS / CSS groups based on what is being used by the page.
What would be your best advise for such an extension?Thanks!
-
You Received this message Because you are subscribed to the Google Groups "wro4j" group.
To unsubscribe from this group and stop Receiving emails from it, Send an Email to wro4j + un ... @ googlegroups.com .
To post to this group, Send Email to wr ... @ googlegroups.com .
Visit this group at http://groups.google.com/ group / wro4j .
For More options, Visit https://groups.google.com/d/ optout .