wro4j extensions

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

Last Version

1.10.1
Release Date

Release Date

Type

Type

jar
Description

Description

wro4j extensions
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-extensions

How to add to project

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

Dependencies

compile (29)

Group / Artifact Type Version
ro.isdc.wro4j : wro4j-core jar 1.10.1
com.google.guava : guava jar 30.0-android
org.mozilla : rhino jar 1.7.13
com.darrinholst : sass-java-gems jar 3.4.20.0
com.github.lltyk : dojo-shrinksafe jar 1.7.2
com.github.sommeri : less4j jar 1.17.2
com.google.code.gson : gson jar 2.8.6
com.google.javascript : closure-compiler jar v20201102
commons-io : commons-io jar 2.8.0
nz.co.edmi : bourbon-gem-jar jar 2.1.0
org.apache.commons : commons-exec jar 1.3
org.apache.commons : commons-lang3 jar 3.11
org.apache.commons : commons-pool2 jar 2.9.0
org.codehaus.groovy : groovy jar 3.0.6
org.jruby : jruby-core jar 9.2.13.0
org.jruby : jruby-stdlib jar 9.2.13.0
org.springframework : spring-context jar
org.springframework : spring-web jar
org.webjars : webjars-locator jar 0.40
org.webjars : coffee-script jar 1.11.0
org.webjars.npm : domelementtype jar 2.0.1
org.webjars.npm : entities jar 2.1.0
org.webjars : envjs jar 1.2
org.webjars.npm : handlebars jar 4.7.6
org.webjars.npm : jshint jar 2.11.0
org.webjars : jslint jar 20140708-394bf29
org.webjars : json2 jar 20140204
org.webjars : less jar 1.3.3
org.slf4j : slf4j-api jar 1.7.30

provided (3)

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

test (3)

Group / Artifact Type Version
org.webjars : font-awesome jar 5.15.1
org.webjars : jquery jar 3.5.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