资 源 简 介
Overview
Granule is an optimization solution for Java-based web applications (JSP, JSF, Grails). It combines and compresses JavaScript and CSS files into less granulated packages, increasing speed and saving bandwidth.
The granule solution includes:
* JSP Tag library. You just need put the tag around your StyleSheets and JavaScripts to compress and combine them.
* Ant task, to include pre-compressing in your build scripts.
Granule can automatically choose minimization algorithms by content from simple whitespace removal algorithms to advanced methods as Google Closure Compiler. It helps integrate Google Closure Library by automatically calculating dependencies between JS files and providing caching or pre-compiling capabilities.
The library organizes work wi