Disable post-publish for quick publish
Cache invalidation occurs during post-publish for catalog and search. We 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_eardir/xml/content-management directory for the 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 our changes and close the file.
- Update the deployment package to include your updated files.
- Restart the WebSphere Commerce server to apply the changes to the site.
Related tasks
Committing workspace data to production-ready data
Publishing to the production environment
Changing quick publish post-publish size