Configuring cache settings for the mid tier
Mid Tier Configuration Tool - Cache Settings page
The settings are as follows:
Setting | Description |
---|---|
Sync in cluster | Indicates whether you want the cache to be synced automatically on a group of mid tiers. This option allows you to see the changes from Sync Cache from any Mid Tier in the group without clearing browser cache. If the check box is:
To enable faster previewing of changes to forms and applications in a browser, and to enable users to see updated information more quickly, you can use the Sync Cache option for the available servers. Selecting this option for a server clears only those objects that have changed on that server since the last time the cache was cleared. For more information about this option, see Knowledge Base article ID 000226959. (You must be logged in to the BMC Support site to access this article.) |
Resource Check Interval (Seconds) | The time limit (in seconds) for which resources (such as images, .css files, and JavaScript files) can be used. The default value is 86400 seconds. If a user closes a form and opens it again within the specified expiry time, the image is cached and is not downloaded again. This helps increase the performance of Mid Tier. |
Enable Cache Persistence | Specifies whether forms cached in memory are written to files for faster retrieval. If the check box is:
AR System forms can be stored on disk only after Enable Cache Persistence is selected. AR System forms loaded before the Enable Cache Persistence is selected are not saved to disk. When a user opens a AR System on a form for the first time, Mid Tier must download the form and its workflow objects. It must then construct a Java object from these items. This object is used to generate the Dynamic HTML needed to display the form in a browser. The initial construction of this Java object is time-consuming, but after it is built, Mid Tier caches it in memory and accesses it for all users who open the same form from that point on. Forms currently cached in memory can be serialized (written to) to one or more files, which enables the forms to be retrieved faster. Mid Tier can serialize the constructed Java objects that represent AR System forms present in memory and write them to a file when the form is loaded. Mid Tier detects the file, reads it, and reconstructs the Java objects serialized in it. This prevents the system from having to repeat the time-consuming construction process. If the application server hosting Mid Tier shuts down unexpectedly, Mid Tier reloads all forms specified in the prefetch configuration from the AR System server when the application server is restarted. |
Backup Directory | Full path of the directory where good cache backup exists. For more information, see Backing-up-the-mid-tier-cache. |
Flush Cache | Removes all items from the caches that BMC Mid Tier maintains. The next time the Mid Tier needs those objects, the most up-to-date versions are retrieved from the AR System server. |
Flush Cache-All pods | Clears local cache from all Mid Tiers in the cluster. |
Sync Cache | For the selected servers, clears the cache only for the objects that have been changed. The Sync Cache operation synchronizes any of the following objects, if the changed timestamp on AR System server is more recent than the cached item in the Mid Tier cache:
Sync Cache completely removes and rebuilds the following cache items since the performance hit is minimal:
Whenever AR System server successfully applies a deployment package, the Mid Tier receives a notification and can sync the cache automatically. With multi-tenancy:
|
Preload (button in the Action column) | Triggers the preload process for the specified AR System server. |
Preload (column) | Describes the preload status. The values are as follows:
For more information, see Configuring-AR-System-servers-that-the-mid-tier-uses. |
Sync Status | Describes the sync status. The values are as follows:
|