wro4j parent

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-parent
Last Version

Last Version

1.10.1
Release Date

Release Date

Type

Type

pom
Description

Description

wro4j parent
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.
Project URL

Project URL

https://github.com/wro4j/wro4j
Source Code Management

Source Code Management

http://github.com/wro4j/wro4j.git

Download wro4j-parent

Filename Size
wro4j-parent-1.10.1.pom 13 KB
Browse

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.30

provided (1)

Group / Artifact Type Version
org.slf4j : slf4j-log4j12 jar 1.7.30

test (2)

Group / Artifact Type Version
junit : junit jar 4.13.1
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