users@glassfish.java.net

Re: expire-headers ?

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Mon, 6 Apr 2009 19:13:25 +0200

in domain.xml there is this:

        <http-file-cache file-caching-enabled="true"
file-transmission-enabled="false" globally-enabled="true"
hash-init-size="0" max-age-in-seconds="3000000000"
max-files-count="1024" medium-file-size-limit-in-bytes="537600"
medium-file-space-in-bytes="10485760"
small-file-size-limit-in-bytes="2048"
small-file-space-in-bytes="1048576"/>

may I change its values and set my headers here ?

2009/4/6 Felipe Gaúcho <fgaucho_at_gmail.com>:
> should I use a filter to apply expire-header in my web-application ?
> or Glassfish has it configurable somewhere in the admin console.. (or
> other place?)
>
> * I know this blog:
> http://blogs.sun.com/cwebster/entry/caching_static_resources_in_glassfish
>
> but it seems to much repetitive effort for all applications :)
>
> --
>
> Please help to test this application:
> http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces
>



-- 
Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces