
Content Delivery Network
Introduction #
A Content Delivery Network (CDN) is a network that puts resources in different places and that allocates those resources according to the closest location. This allows users to access the resources with a lower bandwidth bottleneck. For more information, see Wikipedia - Content Delivery Network.
Liferay CDN (Content Delivery Network) Configuration #
To configure Liferay to use a content delivery network, edit this setting in portal.properties:
## ## Content Delivery Network ## # # Set the hostname that will be used to serve static content via a CDN. This # property can be overridden dynamically at runtime by setting the HTTP # parameter "cdn_host". # cdn.host=
Distinction between http and https (soon) available #
As committed/commented on Aug 19, 2009 this will be superceded by
cdn.host.http= cdn.host.https=
which will fall back to the old configuration value (cdn.host) if configured. The values reference the protocol the page linking to the cdn has been requested with.
Unfortunately the Jira entry has no "fix" version: please place a note here (or edit this article again) when the feature is available in a released version.