wro4j core

The purpose of this project is to reduce the number of requests needed to load a page and the amount of data to transfer to clients, achieving drastic improvement of loading times. The resources can be benefit also from minification and compression.

License

License

GroupId

GroupId

ro.isdc.wro4j
ArtifactId

ArtifactId

wro4j-core
Last Version

Last Version

1.10.1
Release Date

Release Date

Type

Type

jar
Description

Description

wro4j core
The purpose of this project is to reduce the number of requests needed to load a page and the amount of data to transfer to clients, achieving drastic improvement of loading times. The resources can be benefit also from minification and compression.

Download wro4j-core

How to add to project

<!-- https://jarcasting.com/artifacts/ro.isdc.wro4j/wro4j-core/ -->
<dependency>
    <groupId>ro.isdc.wro4j</groupId>
    <artifactId>wro4j-core</artifactId>
    <version>1.10.1</version>
</dependency>
// https://jarcasting.com/artifacts/ro.isdc.wro4j/wro4j-core/
implementation 'ro.isdc.wro4j:wro4j-core:1.10.1'
// https://jarcasting.com/artifacts/ro.isdc.wro4j/wro4j-core/
implementation ("ro.isdc.wro4j:wro4j-core:1.10.1")
'ro.isdc.wro4j:wro4j-core:jar:1.10.1'
<dependency org="ro.isdc.wro4j" name="wro4j-core" rev="1.10.1">
  <artifact name="wro4j-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='ro.isdc.wro4j', module='wro4j-core', version='1.10.1')
)
libraryDependencies += "ro.isdc.wro4j" % "wro4j-core" % "1.10.1"
[ro.isdc.wro4j/wro4j-core "1.10.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.apache.commons : commons-lang3 jar 3.11
commons-io : commons-io jar 2.8.0
org.slf4j : slf4j-api jar 1.7.30

provided (4)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 4.0.1
javax.servlet.jsp : javax.servlet.jsp-api jar 2.3.3
junit : junit jar 4.13.1
org.slf4j : slf4j-log4j12 jar 1.7.30

test (1)

Group / Artifact Type Version
org.mockito : mockito-core jar 3.6.0

Project Modules

There are no modules declared in this project.

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

<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="/wro/all.css" />
	<script type="text/javascript" src="/wro/all.js"/>
  </head>
<body>

</body>
</html>		

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.

ro.isdc.wro4j

Wro4j

Versions

Version
1.10.1
1.10.0
1.9.0
1.8.0
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.4.9
1.4.8.1
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.3.0-rc1
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0