Exporting WCM cache settings - WCM8


WCM 8 came with really simple way to find out or generate the report of all WCM related caches settings and usage. 


Output looks like below

BASIC WEB CONTENT CACHING
Cache Enabled: false (connect.businesslogic.defaultcache=false)
Cache Expiry: N/A

ADVANCED WEB CONTENT CACHING
Cache Type: None (connect.moduleconfig.ajpe.contentcache.defaultcontentcache=NONE)
Cache Expiry: N/A

RESOURCE CACHING
Resource Server Cache Object Maximum Size: 300 kilobytes (resourceserver.maxCacheObjectSize=300)
Resource Server Cache Expiry Date: 1 month (resourceserver.cacheExpiryDate="REL 1M")
Web Browser Cache Maximum Age: 600 seconds (resourceserver.browserCacheMaxAge=600s)

INTERNAL CACHES
Cache Name
JNDI Name
Enabled
Sharing Policy
Entries in Memory
Entries on Disk
Basic
services/cache/iwk/module
false
Not Shared
0
0
Advanced and Resources
services/cache/iwk/processing
true
Not Shared
0
0
Advanced Session
services/cache/iwk/session
false
Not Shared
0
0
Site
services/cache/iwk/site
true
Not Shared
0
0
Item
services/cache/iwk/strategy
true
Not Shared
2
0
Object Summary
services/cache/iwk/summary
true
Not Shared
0
0
Draft Summary
services/cache/iwk/draftSummary
true
Not Shared
0
0
Library
services/cache/iwk/global
true
Not Shared
30
0
Library Parent
services/cache/iwk/libparent
true
Not Shared
2
0
Menu
services/cache/iwk/menu
true
Not Shared
0
0
Navigator
services/cache/iwk/nav
true
Not Shared
0
0
Absolute Path
services/cache/iwk/abspath
true
Not Shared
1
0
Absolute Path Reversed
services/cache/iwk/abspathreverse
true
Not Shared
1
0
Missed Items
services/cache/iwk/missed
false
Not Shared
0
0


NOTE: You can also use the ConfigEngine Task to invoke this utility

./ConfigEngine.sh run-wcm-admin-task-export-cache-settings -DWasPassword=password -DPortalAdminId=username -DPortalAdminPwd=password -Dlibrary=MyLibrary -DinheritPerms=apply -DlibSecurity=true

Sync PageBuilder Layout Changes to portal pages


Some times changes to layout templates made in WebDAV may not affective immediately (even if you restart the server). 

Login portal admin console --> Manage Pages --> Click on the Refresh Icon



Sometimes even the above one does not help , then apply the following i.e. Login portal admin console --> Manage Pages --> Page properties --> expand “Type of Page” --> select check box for the “Synchronize layout model with this layout template”