tags:

views:

73

answers:

0

I am trying to set the max-age for the javascript files that Rich Faces 3.1.2SP1 streams back to the browser.

I have set org.ajax4jsf.DEFAULT_EXPIRE as a context param in web.xml, but when I use Google Page Speed to view the response, the max-age stays at the default value of 86400 (1 day in seconds) regardless of what I set default_expire to.

In web.xml:

  <context-param>
    <param-name>org.ajax4jsf.DEFAULT_EXPIRE</param-name>
    <param-value>1000000</param-value>
  </context-param> 

I am using Weblogic 10g.

Any ideas?