The Oracle Commerce Platform includes a content distributor system that allows you to cache content from repositories to an HTTP server. Using this system can significantly speed up request handling on a site. By default, only Core Commerce uses this system, but it can be used by any application.

The content distributor system is described in the Platform Programming Guide. If you are using an HTTP server such as Apache, no additional configuration of the content distributor system is required. If you are using your application server as your HTTP server, however, you need to configure the system to prepend the context path of the atg_bootstrap.war application (by default, /dyn) to the URL of any file it sends to the server.

The class atg.distributor.DistributorSender has a property named documentRootContextPath that you can set to specify the string to prepend. For example, for the distributor system used by Core Commerce, set this property in the component /atg/commerce/catalog/ContentDistributor, either through the ACC or by adding the following line to the properties file of that component:

documentRootContextPath^=/atg/dynamo/Configuration.defaultDynamoPrefix

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices