wro4j

by wro4j

wro4j /wro4j

Free and Open Source Java project which brings together almost all the modern web tools: JsHint, Css...

435 Stars 86 Forks Last release: 8 months ago (v1.9.0) Apache License 2.0 4.0K Commits 51 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Web Resource Optimizer for Java

Join the chat at https://gitter.im/wro4j/wro4j Build Status Coverage Status Maven Central Stories in Ready

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

    WebResourceOptimizer
    ro.isdc.wro.http.WroFilter



    WebResourceOptimizer
    /wro/*

Step 2: Create wro.xml

    
        /asset/*.css
        /asset/*.js
    
       

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"></script>

Documentation

The documentation for this project is located here

Issues

Found a bug? Report it to the issue tracker

Feedback

If you have any questions or suggestions, please feel free to post a comment to the discussion group

Follow me on Twitter.

License

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.