This website uses cookies We use cookies on this website to provide services, features and to analyze our traffic. You consent to our cookies if you continue to use our website. Accept Cookies Find out more

Configuring Content Delivery Network (CDN)

KB42 Last reviewed 27 November 2013
How to configure Camino CMS to use a Content Delivery Network (CDN).

As of version 0.5.1, Camino CMS includes limited Content Delivery Network or CDN support. At present, this support is limited to changing the address of some website content to point at a different (i.e. your CDN) server address.

For many sites, the use of a CDN would be prohibitively expensive. It is possible to set up your own CDN from which you can server static content, and a guide on how to do this may be found here.

Key Information

The use of a CDN does not mean that some files and folders should not be uploaded to your standard Camino CMS website. To ensure site and service integrity, you should upload all files that you would normally require for non-CDN operation to your website.

The Administrator website and any required files (images, CSS etc) is explicitly excluded from CDN support.

Enabling CDN

To enable CDN support within Camino CMS, it is necessary to add a configuration setting to your Camino configuration:

  1. Open the configuration file /Config/AppSettings.Config within your Camino website (notepad will be fine)
  2. Add the following key: <add key="contentDeliveryNetworkUrl" value="<cdn server address>"/> between the <appSettings></appSettings> tags
  3. Save and upload the AppSettings.Config file to the config folder on your live website. To ensure that the setting takes immediate effect, also upload the web.config file found in the root of your camino website as well.

Configuring CDN

Irrespective of your CDN provider, your CDN file and folder structure must exactly mimick two specific folders within your Camino CMS website for it to work correctly. If you are using a 3rd party CDN provider, then you should upload the these folders from your Camino CMS website:

  • App_Themes
    • (You can remove the Administrator folder as this will not impact on your live site)
  • FileLibrary

Affected Files

The CDN filter will currently only process files with the following extensions:

  • BMP (image)
  • GIF (image)
  • JPG (image)
  • JPEG (image)
  • PNG (image)
  • TIF (image)
  • TIFF (image)
  • CSS (CSS Stylesheet)
  • JS (JavaScript file)
 Loading ...
Copyright © 2018 . All Rights Reserved