Skip to content


Subversion checkout URL

You can clone with
Download ZIP
New project location is:
Java CSS JavaScript Groovy Handlebars TypeScript

The project is moving to a new location

Web Resource Optimizer for Java

Build Status

wro4j is a free and Open Source Java project which will help you to easily improve your web application page loading time. It can help you to keep your static resources (js & css) well organized, merge & minify them at run-time (using a simple filter) or build-time (using maven plugin) and has a dozen of features you may find useful when dealing with web resources.

Getting Started

In order to get started with wro4j, you have to follow only 3 simple steps.

Step 1: Add WroFilter to web.xml



Step 2: Create wro.xml

<groups xmlns="">
    <group name="all">

Step 3: Use optimized resources

    <title>Web Page using wro4j</title>
    <link rel="stylesheet" type="text/css" href="/wro/all.css" />
    <script type="text/javascript" src="/wro/all.js"/>



The documentation for this project is located on google code project page:


Found a bug? Report it to the issue tracker:


If you have any questions or suggestions, please feel free to post a comment to the discussion group:!forum/wro4j

Follow me on tweeter.


This project is available under the Apache License, Version 2.0.

Something went wrong with that request. Please try again.