0 Replies Latest reply on Jun 27, 2008 1:21 PM by Jose Miguel Loor

    RichFaces 3.1.5 DEFAULT_EXPIRE not working

    Jose Miguel Loor Apprentice

      Hi

      I have place this context param in my web.xml:
      <context-param>
      <param-name>org.ajax4jsf.DEFAULT_EXPIRE</param-name>
      <param-value>432000</param-value>
      </context-param>

      I have tested my pages with firebug and found this header:

      Server Apache-Coyote/1.1
      X-Powered-By Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5
      Last-Modified Fri, 27 Jun 2008 17:11:11 GMT
      Cache-Control max-age=86400
      Expires Sat, 28 Jun 2008 17:13:04 GMT
      Content-Type text/javascript
      Content-Length 52010
      Date Fri, 27 Jun 2008 17:13:04 GMT

      As you can see, the:
      Cache-Control max-age=86400
      Expires Sat, 28 Jun 2008 17:13:04 GMT
      values are telling me that the value i had set for cache expiration is not being applied

      Any suggestions ??? Please help, this is urgent

      thanks a lot