Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.samaxes.filter:cachefilter

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.samaxes.filter:cachefilter

Java EE Cache Filter is a Servlet Filter that allows you to set HTTP headers in order to enable or disable browser caching.

  • 2.3.1
  • Source
  • Maven
  • Socket score

Version published
Maintainers
2
Source

Java EE Cache Filter

Java EE Cache Filter provides a collection of common Servlet filters for Java web applications allowing you to transparently set HTTP cache headers in order to enable browser caching.

Why does cache matter?

From Best Practices for Speeding Up Your Web Site:

Web page designs are getting richer and richer, which means more scripts, stylesheets, images, and Flash in the page. A first-time visitor to your page may have to make several HTTP requests, but by using the Expires header you make those components cacheable. This avoids unnecessary HTTP requests on subsequent page views. Expires headers are most often used with images, but they should be used on all components including scripts, stylesheets, and Flash components.

Browsers (and proxies) use a cache to reduce the number and size of HTTP requests, making web pages load faster.

Available filters and docs

Click on the filter's name to access its documentation:

FilterDescription
CacheFilterAllows you to enable browser caching for requested resources.
NoCacheFilterAllows you to completely disable browser caching for requested resources.
NoETagFilterAllows you to disable HTTP ETag headers set by most Java web containers (e.g. Tomcat).

Maven dependency

Add Java EE Cache Filter dependency to your pom.xml file:

<dependency>
    <groupId>com.samaxes.filter</groupId>
    <artifactId>cachefilter</artifactId>
    <version>VERSION</version>
</dependency>

System Requirements

Java EE Cache Filter works with Java EE 6 or newer.

License

This distribution is licensed under the terms of the Apache License, Version 2.0 (see LICENSE.txt).

FAQs

Package last updated on 23 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc