Clearing the server cache
To manually clear the server cache, complete the steps in this procedure.
- Open the browser console:
- Internet Explorer: F12 Developer Tools > Console
- Firefox: Web Developer > Web Console
- Chrome: More tools > Developer tools > Console
- Run one of the following methods in the browser console:
- icn.admin.cache.clearConfig(): Clears the IBM Content Navigator administration configuration cache. This shouldn't be required but can be done when new settings don't appear to be applied.
- icn.admin.cache.clearP8Metadata(): Clears the FileNet P8 metadata cache. This can be done when new metadata changes are not shown in IBM Content Navigator.
- icn.admin.cache.clearP8ChoiceList(): Clears the FileNet P8 choice list cache. This shouldn't be needed but can be done when new choice list changes are not shown in IBM Content Navigator.
- icn.admin.cache.clearTempFile(): Clears temporary files. This shouldn't be required but can be done when temporary files appear to be piling up on the disk.
- icn.admin.cache.clearAll(): All of the above.
IBM FileNet® P8 choice list data is cached on the IBM Content Navigator application server and subsequently also cached on the client. The system refreshes the cache on the IBM Content Navigator application server if the requested choice lists are updated on the FileNet P8 server. You must log out of the client and log in again to clear the client cache on the browser.
To verify that the FileNet P8 metadata cache is cleared:
- Log into IBM® Content Navigator and open the add document dialog and select a class to see the properties of the class.
- Log into ACCE and add a new property to the class used in Step 1.
- From another browser window, log into the administration desktop and clear the p8metadata cache.
- Go back to IBM Content Navigator and refresh the browser without logging out.
- Open the add document dialog and select the class used in Step 1.
To verify that the administration configuration is cleared, you can use one of the two following
options:
- The initial loading time of IBM Content Navigator should be slower once the cache is cleared since all the configuration would need to be retrieved from the database.
- In an HA environment, configuration changes made from one node should be seen in another node once the cache is cleared.