Friday, 12 February 2016

Exporting cache information in Portal

When you run the export cache settings task, a summary of your cache settings is generated and set to the SystemOut.log. 
This includes the type of cache being used, and how it is being applied. For example, basic caching per session, or data caching per site.

Running the export cache settings task :-
Windows
ConfigEngine.bat run-wcm-admin-task-export-cache-settings -DWasPassword=password -DPortalAdminId=username -DPortalAdminPwd=password -Dlibrary=MyLibrary -DinheritPerms=apply -DlibSecurity=true

You can also display your cache settings in a browser using the following URL:-
http://hostname:port/wps/wcm/connect?MOD=ExportCacheSettings&processLibraries=false

Custom single threaded java server

 package com.diffengine.csv; import java.io.*; import java.net.*; import java.util.Date; public class Server { public static void main(Str...