ExpiresFilter does not handle 304 responses

Solution Verified - Updated -

Issue

  • The org.apache.catalina.filters.ExpiresFilter does not add any expiration cache-control headers to 304 responses.
  • Huge logging of 304 not modified responses.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
  • JBoss Enterprise Web Server (JWS)
    • Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.