Commerce Composer widget caching is not enabled by default
in the development environment. You can enable widget caching in developer
by modifying the WebSphere Commerce configuration file.
Procedure
- Open the workspace_dir\WC\xml\config\ directory.
- Open the WebSphere
Commerce configuration file for editing (wc-server.xml).
- Add the following map:
<map className="com.ibm.commerce.dynacache.filter.DeviceFormatIdCallBack"
display="false"
dynacacheAttributeName="DC_deviceFormatId"
methodName="setDeviceFormatId"
name="setDeviceFormatId"/>
- Save and close the XML file.