Docs 1.0.0-beta Help

Akamai

This provider is based on Akamai CDN. It is using Akamai Open API to refresh cache. Please refere to Akamai Open API documentation for more information.

Configuration

Json Options Schema

{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Bielu:Cdn:Akamai", "definitions": { "BieluUmbracoCdnAkamaiFastPurgeInterfaceNetwork6": { "type": "string", "description": "", "x-enumNames": [ "Staging", "Production" ], "enum": [ "staging", "production" ] }, "BieluUmbracoCdnCoreConfigurationConfigurationBaseOptions": { "type": "object", "properties": { "Disabled": { "type": "boolean" } } } }, "allOf": [ { "$ref": "#/definitions/BieluUmbracoCdnCoreConfigurationConfigurationBaseOptions" }, { "type": "object", "properties": { "BaseUrl": { "type": "string" }, "Network": { "$ref": "#/definitions/BieluUmbracoCdnAkamaiFastPurgeInterfaceNetwork6" }, "SupportedHosts": { "type": "array", "items": { "type": "string" } }, "SwitchKey": { "type": "string" } } } ] }

BaseUrl

This is a base url for Akamai account. It is required to be able to use Akamai.

Network

This is a network for Akamai account. It is required to be able to use Akamai. Default value is production.

SupportedHosts

Akamai has no concept of hostnames. So we need store them in configuration. Default value is empty list.

SwitchKey

This is a switch key for Akamai account. It is required to be able to use Akamai.

Installing Provider

In order to activate provider post installation, you need to add following code to your Startup.cs or Program.cs (for minimal hosting model) file.

In registration of services, after this lines:

services.AddUmbraco(_env, _config) .AddBackOffice() .AddWebsite() .AddComposers()

You need to add following line:

.AddAkamaiCdnProvider()
Last modified: 20 January 2024