Dynks is Java Servlet Container web cache using Redis as distributed storage.
Dynks is implemented as Servlet Filter to be integrated in Java web application.
Dynks was designed with perfomance in mind and at the same time easy to integrate.
The following operations are supported with dynks:
- specify which URI of web application accessed with GET can be cached
- caching is fully supporting ETAG based cache validation (https://en.wikipedia.org/wiki/HTTP_ETag) to save resources
- working as java filter so that can be easily integrated with other layers like security, compression etc. fully transparent to them
- TTL based cache eviction is supported with arbitrary time unit
- Java SDK 8
- Gradle 2.4
- Redis 2.8 running on localhost on default port (for integration testing)
For Maven:
<dependency>
<groupId>com.github.jszczepankiewicz</groupId>
<artifactId>dynks</artifactId>
<version>0.9.8</version>
</dependency>
For Gradle:
compile 'com.github.jszczepankiewicz:dynks:0.9.8'
NOTE: before actually using please check latest release version on:
Some integration tests require Redis server listening on localhost on default port.
Coverage does not measue all coverage due to lack of support for integration testing. This mostly affects testing the main filter class. The rest of resources should be easily testable.
gradle test jacocoTestReport