Setting ADF View State Compression

26-12 Oracle Fusion Middleware Performance and Tuning Guide

26.4.6 Tuning Performance of the RSS News Feed Service

To manage overall resource usage for the RSS News Feed service, you can adjust the refresh interval and timeout in the adf-config.xml file. If you must modify these properties, post deployment, use the System MBeans Browser. The following is a sample snippet of adf-config.xml: rssC:adf-rss-config rssC:RefreshSecs3600rssC:RefreshSecs rssC:TimeoutSecs3rssC:TimeoutSecs rssC:ConfiguredtruerssC:Configured rssC:adf-rss-config

26.4.7 Tuning Performance of the Search Service

To manage overall resource usage and user response time for searching, you can adjust the number of saved searches displayed, the number of results displayed, and these timeout values: ■ prepareTimeoutMs - Maximum time that a service is allowed to initialize a search in ms. ■ timeoutMs - Maximum time that a service is allowed to execute a search in ms. ■ showAllTimeoutMs - Maximum time that a service is allowed to display search all results in ms. Post deployment, modify timeout properties through Fusion Middleware Control or using WLST. For details, see: ■ Modifying Oracle SES Connection Details Using Fusion Middleware Control in Oracle Fusion Middleware Administrators Guide for Oracle WebCenter. ■ Modifying Oracle SES Connection Details Using WLST in Oracle Fusion Middleware Administrators Guide for Oracle WebCenter. The following is a sample snippet of adf-config.xml: searchC:adf-search-config xmlns=http:xmlns.oracle.comwebcentersearchconfig display-properties common numSavedSearches=25 region-specific usage id=simpleSearchResultUIMetadata numServiceRows=5 usage id=searchResultUIMetadata numServiceRows=5 usage id=localToolbarRegion numServiceRows=5 region-specific display-properties execution-properties prepareTimeoutMs=1000 timeoutMs=3000 showAllTimeoutMs=20000 execution-properties searchC:adf-search-config

26.4.8 Configuring Portlet Cache Size

You can modify the portlet cache size in the adf-config.xml file. The default portlet cache size is set to 10 MB. If you must modify these properties, post deployment, you must edit adf-config.xml manually. Oracle WebCenter Performance Tuning 26-13 The following is a sample snippet of adf-config.xml: adf-portlet-config .... supportedLocales cacheSettings enabled=true maxSize10000000maxSize cacheSettings adf-portlet-config

26.5 Tuning Portlet Configuration

This section describes portlet performance-related configuration. This section includes the following sub sections: ■ Tuning Performance of the Portlet Service ■ Enabling Java Object Cache for WSRP Producers ■ Suppressing Optimistic Rendering for WSRP Portlets ■ Tuning Performance of Oracle PDK-Java Producers ■ Setting ExcludedActionScopeRequestAttributes for Portlets ■ Setting DefaultServedResourceRequiresWsrpRewrite for WSRP Portlets ■ Setting DefaultProxiedResourceRequiresWsrpRewrite for WSRP Portlets ■ Importing Consumer CSS Files in IFrame Portlets ■ Configuring Portlet Timeout ■ Tuning Performance of OmniPortlet

26.5.1 Tuning Performance of the Portlet Service

To manage overall resource usage and user response time, you can remove unnecessary locale support, modify portlet timeout and cache size in the adf-config.xml file. For the Portlet service, 28 supported locales are defined out-of-the-box. You can remove the locales that are unnecessary for your application. If you must modify these properties, post deployment, you must edit adf-config.xml manually. See Editing adf-config.xml in the Oracle Fusion Middleware Administrators Guide for Oracle WebCenter. The following is a sample snippet of adf-config.xml: portletC:adf-portlet-config xmlns=http:xmlns.oracle.comadfportletconfig supportedLocales valueesvalue valuekovalue valueruvalue valuearvalue valuefivalue valuenlvalue valueskvalue valuecsvalue valuefrvalue valuenovalue valuesvvalue valuedavalue