Cache invalidation occurs during post-publish for catalog and search. You can disable the
post-publish for quick publish for the catalog or search resource managers to avoid duplicate cache
invalidation.
Procedure
-
Update the resource-containers.xml file.
-
Go to the
WC_profiledir/installedApps/cell_name/WCServer_enterprise_archive/xml/content-management
directory for your site.
-
Open the wc-resource-containers.xml file for editing.
-
Find the
<wc:QuickPublishConfiguration>
element in the file.
-
Add the following
postPublish
parameter within the element:
<wc:QuickPublishConfiguration>
<wc:Publisher className="com.ibm.commerce.context.content.resources.publish.DefaultJDBCContentPublisherImpl"
initParameters=[other-parameters] postPublish="false" [other-parameters]/ >
</wc:QuickPublishConfiguration>
- Save your changes and close the file.
-
Restart your WebSphere Commerce server to apply the changes to your site.