Set up the Missed Absolute Path Cache
To improve the performance of contextual linking you can enable a Missed Absolute Path Cache. The Missed Absolute Path Cache functionality requires a dynamic object cache to be setup in WAS before it can be utilized. This cache should be installed by default, but if you need to create this, follow these instructions:
- In a non-clustered environment:
- Login to the WebSphere Administrative console for your server.
- Go to Resources tree > Cache Instances .
- Click Object cache instances.
- In the scope section, select the node on which your server is located and then select the server on which the cache is to be set up.
- Click Apply to save your choices.
- Click New to create a new cache.
- Enter missed in the Name field and services/cache/iwk/missed in the JNDI name field. These values are used to lookup the cache and use it. Leave all other fields set to their default values.
- Click OK at the bottom of the form and then Save.
- To enable the cache for your Web content, edit WCMConfigService.properties and ensure missed_absPath.cache.enable=true .The WCMConfigService.properties file is located in the PROFILE_HOME/PortalServer/wcm/shared/app/config/wcmservices/ directory.
Restart WebSphere Portal to enable any configuration changes made to this file.
In a clustered environment:
- Login to the WebSphere Administrative console for your server.
- Go to Resources > Cache Instances > Object cache instances .
- Select a scope from the Scope selection drop-down list or uncheck the Show scope selection drop-down check box, click the Browse Clusters button, and then choose the cluster that you want to create the cache for.
- Click Apply to save your choices.
- Click New to create a new cache.
- Enter missed in the Name field and services/cache/iwk/missed in the JNDI name field. These values are used to lookup the cache and use it. Leave all other fields set to their default values.
- Select Enable Cache Replication.
- Go to the Full group replication domain drop-down box and select the name of the cluster you want to cache.
- Select Choose Push-Only from the Replication type drop down box.
- Enter 1 in the Push Frequency field. Leave all other fields set to their default values.
- Click OK and then Save > Save > OK.
- To enable the cache for your Web content, edit WCMConfigService.properties on every server in the cluster and ensure missed_absPath.cache.enable=true .The WCMConfigService.properties file is located in the PROFILE_HOME/PortalServer/wcm/shared/app/config/wcmservices/ directory.
Restart WebSphere Portal to enable any configuration changes made to this file.
Parent topic:
Configure a Web content authoring environment