Connector for Salesforce Commerce Cloud Manual / Version 2310
Table Of ContentsFigure 5.1, “Commerce-led Architecture Overview” shows the commerce-led integration scenario where the CoreMedia CAE operates behind the commerce server for all page request. Moreover, you can see two kinds of requests. While the left side shows HTTP page requests to the commerce server, that include fragments delivered by the CAE, the right side shows resource or Ajax requests directly redirected by the one virtual host in front of both servers to the CAE.
A typical flow of requests through a commerce-led system is as follows:
A user requests a product detail page that is received by the virtual host.
The virtual host identifies the request as a commerce request and forwards it to the commerce server.
Part of the requested Product Detail Page (PDP) is a CMS content fragment. Hence, the commerce system requests the fragment from the CAE.
The resulting HTML page flows back to the user's browsers. Because the page contains dynamic CAE fragments which have to be fetched via Ajax, the browser triggers the corresponding request against the virtual host.
As this is a CAE request, the virtual host forwards it directly to the CAE.