wcs_properties.json
file:Properties categorized under the Cache category are used to configure the BlobServer servlet, Page caching, Resultset caching, cluster settings, backwards compatibility settings, satellite server settings, asset default settings, security settings, session timeouts, and Global Unique Identifiers used by the WebCenter Sites servlets.
The Cache category contains the following types of properties:
Blob Server properties configure the BlobServer servlet. BlobServer serves blobs. It gathers a blob from a table and performs all the necessary security checks. When BlobServer serves a blob, it caches it in both WebCenter Sites and Satellite Server.
Page caching properties configure the page cache settings for WebCenter Sites. WebCenter Sites page caching is monitored and maintained by the CacheManager. WebCenter Sites caching enables you to cache both complete web pages and their individual components (or pagelets). To set up page caching on a WebCenter Sites system, you configure properties for the CacheManager and the Satellite Server servlets.
For more information about page caching, see Oracle Fusion Middleware Developing with Oracle WebCenter Sites.
ResultSet caching properties configure resultset caching for WebCenter Sites. For information about resultset caching and queries on your WebCenter Sites system, see Oracle Fusion Middleware Developing with Oracle WebCenter Sites.
ResultSet caching properties include:
Global resultset caching properties, which are set during the WebCenter Sites installation process to enable resultset caching for all tables in the WebCenter Sites database. The same properties will be automatically applied to all tables that are subsequently created. The properties are:
cc.cacheResults
: number of resultsets to cache in memory.
cc.cacheResultsTimeout
: length of time to keep resultsets cached in memory.
cc.cacheResultsAbs
: method of calculating expiration time for resultsets in the resultset cache.
Table-specific resultset caching properties for system tables. These properties are automatically set during the WebCenter Sites installation process to override the global resultset caching properties named above.
For example, the following table-specific properties are set for the ElementCatalog
table: cc.ElementCatalogCSz
and cc.ElementCatalogTimeout
. The property values can be changed, or the properties can be removed (the resultset cache for the table will then use the values of the global properties).
Cluster properties are used by WebCenter Sites to communicate with all the servers in a cluster when a WebCenter Sites system is installed in a cluster.
Compatibility properties set values necessary for backward compatibility with earlier versions of WebCenter Sites.
Satellite Server properties describe how to communicate with any of the Satellite servlets (Satellite Server), whether they are running locally or on remote servers.
Asset default properties are used to define certain default details about asset types, such as cache information, default ACLs, and whether CKEditor is present.
Properties that control such things as security settings, session timeouts, Global Unique Identifiers that the WebCenter Sites servlets use, the amount of idle time a connection can have before WebCenter Sites logs out of a connection, and whether WebCenter Sites loads cache synchronization processing.
Table 3-1 provides a description for each of the properties in the JSON file that are associated with the Cache category.
Table 3-1 Cache Properties
Property | Description |
---|---|
Specifies the default number of blobs that can be cached (to memory). Default value: |
|
Specifies the number of seconds that a blob will remain cached in memory. Note that the memory cache is cleared whenever the BlobServer servlet is restarted. This property affects the operation of CacheManager as follows: When compositional dependencies are recorded against a blob in the Possible values: negative integer, Default value: The blob will remain cached in memory forever, unless it is evicted because more recently used blobs have filled the cache. Note: The value of this property affects
For more information, see |
|
Comma separated list of invalid headers which are ignored by BlobServer. Note: If headers are specified as both valid ( For more information, see |
|
Specifies whether the BlobServer servlet checks security before allowing database access and image retrieval. If security is on, images cannot be cached in memory. If you enable BlobServer security, the BlobServer servlet serves the data only if the <IMG SRC="BlobServer?blobtable=MovieImages&blobcol=urlimage&blobkey=id&csblobid=SessionVariables.blobid&blobwhere=25"/> Possible values: Subcategory: |
|
Comma separated list of valid headers which are allowed by BlobServer. Note: If headers are specified as both valid ( For more information, see |
|
The number of resultsets to cache against the Default value: |
|
Specifies the maximum number of blobs that will be cached in memory. If memory is at a premium, you may reduce the value of this property. Default value: |
|
Specifies the default lifetime (in minutes) of a cached blob in memory. If memory is at a premium, you may reduce the value of this property. Default value: |
|
Specifies whether the system allows the database query transaction data cached by WebCenter Sites to persist even if a cluster member updates the table. Default value: You can set table-specific values for individual tables by adding a property in the following format:
|
|
Specifies the default number of resultsets to cache in memory. Note that this does not mean the number of records in a resultset, but the number of resultsets. Caution: Unless you are debugging, do not set this property to 0 or -1. If you do, WebCenter Sites will fail to save assets properly. (Setting this property to 0 or -1 disables resultset caching for all tables that do not have their own caching properties configured.) Possible values: Default value: Note: To set a different value for a specific table, create a property for that table using the following format: |
|
Specifies how expiration time for resultsets in the resultset cache is calculated.
Default value: Note: To set expiration time for a specific table, create a property for that table using the following format: |
|
Specifies the number of minutes to keep a resultset cached in memory. Setting this property to -1 means that there is no timeout value for tables that do not have their own caching properties configured. Possible values: Default value: Note: To set timeout for a specific table, create a property for that table using the following format: |
|
The number of resultsets to cache against the Default value: |
|
Specifies the number of resultsets to cache against the Default value: |
|
Specifies the number of minutes to keep idle resultsets for the Default value: 60 |
|
Specifies the number of resultsets to cache against the Default value: |
|
Specifies the number of minutes to keep idle resultsets for the Default value: |
|
The number of resultsets to cache against the Default value: |
|
Specifies the number of resultsets to cache against the Default value: |
|
Specifies the number of minutes to keep idle resultsets for the Default value: |
|
Specifies the number of resultsets to cache against the Default value: |
|
Specifies the number of minutes to keep idle resultsets for the Default value: |
|
Specifies the maximum number of pages that can be cached in memory. Pages are cached both in memory and to disk (database). This property specifies the number of pages cached to memory, not to disk. Default value: Note: This property must not be set to -1. |
|
Specifies the number of minutes a cached page is held in memory (cached pages are cached both to disk and to memory). Default value: |
|
Specifies the number of resultsets to cache against the Default value: |
|
Specifies the number of minutes to keep idle resultsets for the Default value: |
|
Specifies the default cache setting for page entries in the Default value: Subcategory: Pagecache |
|
Specifies if cookie variables should be created for servlet request information. Generating cookie variables can confuse page criteria for page requests and works only for outer pages. Default value: |
|
Specifies the size limit in bytes for keeping uploaded files in memory while they are being posted. If an uploaded file is larger than the value specified, WebCenter Sites streams it to a temporary file until it is finished evaluating a page. This prevents excessive memory use and helps to prevent denial-of-service attacks. Default value: |
|
Controls how outdated pages are expunged from the cache. When this property is set to Possible values: Default value: |
|
Specifies whether a cache maintenance event should regularly remove expired pages from the cache, or whether the expiration date of a page should be checked only when that page is requested. Set the value to Default value: |
|
Defines the file that is used for the ItemList interface that is used by the CacheManager. The IItemList interface is used to record compositional dependencies in the page cache. When this property is set to a legal class, dependency items will be recorded against a page id in the SystemItemCache table. This enables CacheManager. An illegal value results in CacheManager having no effect. Default value: Note: The default value is provided for reference only. Do not change the value of this property. |
|
Controls whether the CacheServer servlet removes blobkey/compositional dependency mappings from the Possible values:
Default value: Note: How this property takes effect depends on the value of the |
|
Provides you with the ability to disable all disk-based page caching (pages will still be cached in memory). Use this property to temporarily shut down page caching when you are debugging your site, but do not leave this value set to Default value: |
|
This property is no longer used. When setting Now, we do not need to specify a If the value is neither Until SiteCatalog Typical values include:
Edit this value to match your installation requirements. Default value: |
|
Specifies the number of minutes that a page will exist in the page cache. Default value: |
|
Allows users to work with blob dependencies. To record blob inventory, set the value of this property to Default value: |
|
Specifies whether session ID information can be held in cookies or whether WebCenter Sites must encode session data into the links. Set to Default value: |
|
Used to switch between resultset caching media. This property is set to
When the installation process is complete, the System Tools node (on the Admin tab of the Admin interface) displays the resultset over inCache tool, which provides statistical information about the caches and their contents. Possible values: Default value: Note: Resultset caching over inCache works independently of page and asset caching over inCache. Information about the inCache framework, its caching models and system tools is available in Troubleshooting Using System Tools in Administering Oracle WebCenter Sites. Additional information about resultset caching is also available in Working with Resultset Caching and Queries in Developing with Oracle WebCenter Sites. |
|
Specifies a default value for the Default value: Set this property to a value that is appropriate for the majority of your blobs, and then use the Use the following format to set a value:
For more information about this property, see the expiration property. |
|
Controls how Satellite Server cache is flushed. When this property is set to Possible values: Default value: Subcategory: Pagecache |
|
Specifies the default value for the Cache Rule (ContentServer) field of SiteEntry and Template assets that are enabled for caching. The value is displayed when the Advanced caching option is selected; the value can be overridden. The Cache Rule (ContentServer) field maps to the Default value: |
|
Specifies the default value for the Default value: For definitions of these variables and for more information about page criteria variables, see Understanding Page Design and Caching in Developing with Oracle WebCenter Sites. |
|
Default page criteria for SiteEntry asset. Specifies the page criteria variables that can be set by default for SiteEntry assets. While you can add variables to this list, do not delete any of the default values. Default value:
|
|
Specifies the default value for the Cache Rule (Satellite) field of SiteEntry and Template assets that are enabled for caching. The value is displayed when the Advanced caching option is selected; the value can be overridden. The Cache Rule (Satellite) field maps to the Default value: |