How to prevent cacheId from appending to WCM URLs
Applies to
HCL Digital Experience v9.5 and higher
Introduction
By default, Web Content Manager (WCM) in HCL Digital Experience (DX) appends a cacheId query parameter to generated URLs during component tag rendering to track version state. Enabling URL encoding prevents cacheId from appending to generated links. This article explains how to prevent cacheId from appending to WCM URLs.
Instructions
- Log in to the IBM Integrated Solutions Console (WAS admin console) as an administrator.
- Navigate to Resources > Resource Environment > Resource Environment Providers > WCM_WCMConfigService > Custom properties.
-
Select or create the
cmpnt.htmlEncodeURLsproperty:-
To create a new property:
- Select New.
- Set Name to
cmpnt.htmlEncodeURLs. - Set Value to
true.
-
To edit an existing property:
- Select cmpnt.htmlEncodeURLs from the list.
- Set Value to
true.
-
-
Select Apply.
- Select Save at the top of the console messages.