cpCode
cpCodeRequired. A Content Provider (CP) code is how traffic through this configuration gets tracked for reporting and billing.
{
"name": "cpCode",
"options": {
"enableDefaultContentProviderCode": true
}
}The template opts into your contract's default CP code so a new environment version is valid without you having to look one up. To pin a specific code, set enableDefaultContentProviderCode to false and supply the code — value is only available when enableDefaultContentProviderCode isn't true:
{
"name": "cpCode",
"options": {
"enableDefaultContentProviderCode": false,
"value": {
"id": 12345
}
}
}Pin a code when either of these applies:
- Granularity. Billing and reporting merge when configurations share a CP code. Use a distinct code to keep this configuration's data separate — on a download product that usually means one code per title, platform, or release channel, since egress is what you're measuring.
- Log Delivery Service (LDS). If you plan to enable LDS, the code can't be active on another configuration on the production network. Sharing with staging configurations is fine.
contentCharacteristicsDD
contentCharacteristicsDDRequired. This is where you tell Akamai what you're delivering. It doesn't switch anything on by itself — it feeds the metadata configuration Akamai derives for your traffic, which is what produces better origin offload and end-user performance.
{
"name": "contentCharacteristicsDD",
"options": {
"catalogSize": "UNKNOWN",
"contentType": "UNKNOWN",
"objectSize": "UNKNOWN",
"popularityDistribution": "UNKNOWN",
"optimizeOption": false
}
}Everything ships unknown. That's honest rather than optimal: Akamai still optimizes per request, but with none of the hints it could use.
| Option | Ships as | What to set it to |
|---|---|---|
catalogSize | UNKNOWN | Total volume behind this configuration: SMALL (<100 GB), MEDIUM (100 GB–1 TB), LARGE (1–100 TB), EXTRA_LARGE (>100 TB), OTHER. |
contentType | UNKNOWN | What the files are: VIDEO, SOFTWARE, SOFTWARE_PATCH, GAME, GAME_PATCH, OTHER_DOWNLOADS. Patch traffic behaves differently from full installers, and this is where you say so. |
objectSize | UNKNOWN | LESS_THAN_1MB, ONE_MB_TO_TEN_MB, TEN_MB_TO_100_MB, GREATER_THAN_100MB, OTHER. The single most useful hint on this product, because it drives partial object caching decisions. |
popularityDistribution | UNKNOWN | LONG_TAIL for a large catalog with few requests each over a long life; ALL_POPULAR for heavy demand on short-lived content — a release-day pattern. OTHER if it's a mix. |
optimizeOption | false | Large File Optimization. Optimizes throughput and download times for large files. Off by default; turn it on when this configuration carries files over 100 MB, which is the common case. |
optimizeOptionis the one switch hereThe other four options are declarations.
optimizeOptionactually changes delivery, and it's the feature Download Delivery is sold on. It ships off because it isn't free for small objects — turn it on when the files are genuinely large.
enhancedDebug
enhancedDebug{
"name": "enhancedDebug",
"options": {
"enableDebug": true,
"debugKey": "",
"disablePragma": true,
"generateGrn": true
}
}Enhanced Debug is the current, secure way to diagnose requests, replacing Pragma debugging. It uses a time-limited authentication token derived from a secret key you define, so debug output can't be requested by anyone who simply knows the header name.
| Option | Ships as | Why |
|---|---|---|
enableDebug | true | Diagnostics available from the start. The other three options are only available while this is true. |
debugKey | "" | You must set this before activating. A 64-byte hex string, used both to validate the debug auth token and to generate it. Reusing one key across your configurations is a reasonable practice. |
disablePragma | true | Legacy Pragma debugging is off, so debug data isn't exposed to unauthenticated requests. Only enable Pragma during a transition, until your tooling uses Enhanced Debug. |
generateGrn | true | Returns a Global Request Number on responses even when a request isn't being debugged, which is what lets you correlate a user's report of a failed download with platform logs afterwards. |
NoreportoredgeScapeTemplatehereUnlike the web delivery templates, this reporting category has no
reportbehavior and no EdgeScape. Log field selection and geolocation forwarding aren't part of the Download Delivery default settings — add the behaviors to a rule if your contract entitles them.
