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.
- 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.
contentCharacteristics
contentCharacteristicsRequired. 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": "contentCharacteristics",
"options": {
"catalogSize": "UNKNOWN",
"contentType": "UNKNOWN",
"objectSize": "UNKNOWN",
"popularityDistribution": "UNKNOWN"
}
}Everything ships unknown. That's honest rather than optimal: Akamai still optimizes per request, but with none of the hints it could use. These are four enum values and the cheapest configuration improvement available on this product.
| 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 objects are: USER_GENERATED, WEB_OBJECTS, SOFTWARE, IMAGES, OTHER_OBJECTS. |
objectSize | UNKNOWN | LESS_THAN_1MB, ONE_MB_TO_TEN_MB, TEN_MB_TO_100_MB, OTHER. Note the range stops at 100 MB — this product's object ceiling, enforced by restrictObjectCaching. |
popularityDistribution | UNKNOWN | LONG_TAIL for a large catalog with few requests each over a long life; ALL_POPULAR for heavy demand on short-lived objects. OTHER if it's a mix. |
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 report with platform logs after the fact. |
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 Object Delivery default settings — add the behaviors to a rule if your contract entitles them.
