Web Context Parameters
Artifact Id: myfaces-resourcehandler20
| Name | Default Value | Expected Values | Since | Description | Source Class |
|---|---|---|---|---|---|
| org.apache.myfaces.RESOURCE_MAX_TIME_EXPIRES | 604800000 | 2.0 | Set the max time in miliseconds set on the "Expires" header for a resource. (default to one week in miliseconds or 604800000) | org.apache.myfaces.commons.resourcehandler.resource.BaseResourceHandlerSupport | |
| org.apache.myfaces.commons.GZIP_RESOURCES_ENABLED | false | Enable or disable gzip compressions for resources served by this extended resource handler. By default is disabled (false). | org.apache.myfaces.commons.resourcehandler.ExtendedDefaultResourceHandlerSupport | ||
| org.apache.myfaces.commons.GZIP_RESOURCES_SUFFIX | .css, .js | Indicate the suffix used to recognize resources that should be compressed. By default is ".css .js". | org.apache.myfaces.commons.resourcehandler.ExtendedDefaultResourceHandlerSupport | ||
| org.apache.myfaces.commons.CACHE_DISK_GZIP_RESOURCES | true | Indicate if gzipped files are stored on a temporal directory to serve them later. By default is true. If this is disable, the files are compressed when they are served. | org.apache.myfaces.commons.resourcehandler.ExtendedDefaultResourceHandlerSupport | ||
| org.apache.myfaces.commons.EXTENDED_RESOURCE_IDENTIFIER | /javax.faces.resource | Indicate the prefix that is added to each resource path that is used later to check if the request is a resource request. By default is /javax.faces.resource | org.apache.myfaces.commons.resourcehandler.ExtendedDefaultResourceHandlerSupport | ||
| org.apache.myfaces.commons.EXTENDED_RESOURCE_HANDLER_CONFIG_URL_PROVIDER | This param allow to override the default strategy to locate myfaces-resources-config.xml files, that will be parsed later. In this way it is possible to include new source locations or handle cases like OSGi specific setup. | org.apache.myfaces.commons.resourcehandler.config.MyFacesResourceHandlerConfigParser | |||
| org.apache.myfaces.RESOURCE_HANDLER_CACHE_SIZE | 500 | 2.0.2 | org.apache.myfaces.commons.resourcehandler.resource.ResourceHandlerCache | ||
| org.apache.myfaces.RESOURCE_HANDLER_CACHE_ENABLED | true | 2.0.2 | org.apache.myfaces.commons.resourcehandler.resource.ResourceHandlerCache |