« Zurück zu Configuring

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.

0 Anhänge
35409 Angesehen
Durchschnitt (2 Stimmen)
Die durchschnittliche Bewertung ist 1.0 von max. 5 Sternen.
Kommentare
Antworten im Thread Autor Datum
Would be nice to know how to get your static... Olav Snoek 6. August 2010 02:25

Would be nice to know how to get your static files out of liferay in order to be able to synchronize the CDN and the parent liferay site. Any help would be appreciated.
Gepostet am 06.08.10 02:25.