MCPcopy Index your code
hub / github.com/alexo/wro4j

github.com/alexo/wro4j @v1.7.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.7.7 ↗ · + Follow
6,534 symbols 22,612 edges 1,071 files 2,072 documented · 32% updated 3y ago★ 44143 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

<filter>
    <filter-name>WebResourceOptimizer</filter-name>
    <filter-class>ro.isdc.wro.http.WroFilter</filter-class>
</filter>

<filter-mapping>
    <filter-name>WebResourceOptimizer</filter-name>
    <url-pattern>/wro/*</url-pattern>
</filter-mapping>

Step 2: Create wro.xml

<groups xmlns="http://www.isdc.ro/wro">
    <group name="all">
        <css>/asset/*.css</css>
        <js>/asset/*.js</js>
    </group>
</groups>       

Step 3: Use optimized resources

<html>
  <head>
    <title>Web Page using wro4j</title>
    <link rel="stylesheet" type="text/css" href="https://github.com/alexo/wro4j/raw/v1.7.7/wro/all.css" />
    <script type="text/javascript" src="https://github.com/alexo/wro4j/raw/v1.7.7/wro/all.js"/>
  </head>
<body>

</body>
</html>     

Documentation

The documentation for this project is located on google code project page: http://code.google.com/p/wro4j/

Issues

Found a bug? Report it to the issue tracker: http://code.google.com/p/wro4j/issues/list

Feedback

If you have any questions or suggestions, please feel free to post a comment to the discussion group: https://groups.google.com/forum/#!forum/wro4j

Follow me on tweeter.

License

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

Extension points exported contracts — how you extend this code

CacheKeyFactory (Interface)
Factory responsible for creating CacheKey @author Alex Objelean @since 1.6.0 @created 19 Oct 2012 [65 implementers]
wro4j-core/src/main/java/ro/isdc/wro/cache/factory/CacheKeyFactory.java
ExtraConfigFileAware (Interface)
Allows implementor to access a file containing extra config file used by maven plugin. @author Alex Objelean [3 implementers]
wro4j-maven-plugin/src/main/java/ro/isdc/wro/maven/plugin/support/ExtraConfigFileAware.java
Thing (Interface)
(no doc) [2 implementers]
wro4j-extensions/src/test/resources/ro/isdc/wro/extensions/processor/typescript/test/raytracer.js
RequestHandler (Interface)
Handler interface for components that process HTTP request. Typically implemented to provide api functionality for the W [7 …
wro4j-core/src/main/java/ro/isdc/wro/http/handler/RequestHandler.java
Ray (Interface)
(no doc)
wro4j-extensions/src/test/resources/ro/isdc/wro/extensions/processor/typescript/test/raytracer.js
RequestHandlerProvider (Interface)
A service provider responsible for providing new implementations of RequestHandler. @author Alex Objelean @sinc [7 implementers]
wro4j-core/src/main/java/ro/isdc/wro/http/handler/spi/RequestHandlerProvider.java
Intersection (Interface)
(no doc)
wro4j-extensions/src/test/resources/ro/isdc/wro/extensions/processor/typescript/test/raytracer.js
WroModelFactory (Interface)
Creates a WroModel object. The concrete implementation must synchronize the instantiation of the model. @author [62 implementers]
wro4j-core/src/main/java/ro/isdc/wro/model/factory/WroModelFactory.java

Core symbols most depended-on inside this repo

Shape

Method 4,211
Function 1,693
Class 562
Interface 58
Enum 10

Languages

Java73%
TypeScript27%

Modules by API surface

wro4j-extensions/src/main/java/ro/isdc/wro/extensions/script/env.rhino.min.js823 symbols
wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/support/uglify/uglifyJs.min.js172 symbols
wro4j-core/src/test/resources/ro/isdc/wro/model/resource/processor/jsmin/test/jquery-1.11.0.min.js76 symbols
wro4j-core/src/test/resources/ro/isdc/wro/model/resource/processor/jsmin/expected/jquery-1.11.0.min.js76 symbols
wro4j-core/src/test/java/ro/isdc/wro/http/TestWroFilter.java75 symbols
wro4j-maven-plugin/src/test/java/ro/isdc/wro/maven/plugin/TestWro4jMojo.java55 symbols
wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/support/dustjs/dust-full-1.1.1.min.js52 symbols
wro4j-core/src/test/java/ro/isdc/wro/manager/TestWroManager.java51 symbols
wro4j-extensions/src/test/resources/ro/isdc/wro/extensions/processor/typescript/test/raytracer.js50 symbols
wro4j-extensions/src/test/resources/ro/isdc/wro/extensions/processor/google/expectedWhitespaceOnly/jquery-1.5.2.js49 symbols
wro4j-core/src/main/java/ro/isdc/wro/config/jmx/WroConfiguration.java47 symbols
wro4j-maven-plugin/src/main/java/ro/isdc/wro/maven/plugin/AbstractWro4jMojo.java46 symbols

For agents

$ claude mcp add wro4j \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page