Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.2
-
Fix Version/s: 2.1-Beta, 3.0, EE-2.0.0.GA_P01
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces 2 Sample apps.
-
Assignee Priority:P2
-
Affects:Sample App./Tutorial
Description
This purpose of this JIRA is to improve the out-of-box experience for developers using the ICEfaces 2 sample apps. included in the download bundles with each release. Currently, we set all sample apps. to use JSF 2 PROJECT_STAGE="Development", which is useful to us in detecting possible issues earlier, but results in the apps. running with lower performance settings within JSF, which could negatively affect users judging ICEfaces 2 performance characteristics, etc. based on incorrect assumptions.
This JIRA consists of the following sub-tasks for each sample app.:
1. Change web.xml to specify PROJECT_STAGE="Production", instead of "Development". Also, a comment should be added to suggest that changing this setting to Development may be useful to folks who are currently in development mode on their ICEfaces 2 project. Although "Production" is the JSF 2 default setting for this, having it declared is necessary to enable QA regression testing harness to easily update it to "Development" as needed for ongoing regression testing. In addition, it raises user awareness of the settings existence to ICEfaces users.
2. Change the web.xml to specify an extended resource "max-age" for improved resource caching. By default, resources are only cached for 10 mins. This should be extended via specifying the "com.sun.faces.defaultResourceMaxAge" parameter and setting it to 1 week instead.
This JIRA consists of the following sub-tasks for each sample app.:
1. Change web.xml to specify PROJECT_STAGE="Production", instead of "Development". Also, a comment should be added to suggest that changing this setting to Development may be useful to folks who are currently in development mode on their ICEfaces 2 project. Although "Production" is the JSF 2 default setting for this, having it declared is necessary to enable QA regression testing harness to easily update it to "Development" as needed for ongoing regression testing. In addition, it raises user awareness of the settings existence to ICEfaces users.
2. Change the web.xml to specify an extended resource "max-age" for improved resource caching. By default, resources are only cached for 10 mins. This should be extended via specifying the "com.sun.faces.defaultResourceMaxAge" parameter and setting it to 1 week instead.
Need to notify QA once this change has been committed.